Removed an unused package (#108) and made a minor notifications fix for #25.

This commit is contained in:
Peter Deltchev 2016-12-23 07:36:31 -08:00
parent 7e4faa0454
commit 62188eb5e6
3 changed files with 3 additions and 52 deletions

View file

@ -20,7 +20,6 @@
namespace Poniverse\Ponyfm\Mail; namespace Poniverse\Ponyfm\Mail;
use Poniverse\Ponyfm\Models\User;
class NewComment extends BaseNotification class NewComment extends BaseNotification
{ {
@ -33,7 +32,7 @@ class NewComment extends BaseNotification
// Profile comments get a different template and subject line from // Profile comments get a different template and subject line from
// other types of comments. // other types of comments.
if ($this->activityRecord->getResourceTypeString() === User::class) { if ($this->activityRecord->isProfileComment()) {
return $this->renderEmail( return $this->renderEmail(
'new-comment-profile', 'new-comment-profile',
$this->activityRecord->text, [ $this->activityRecord->text, [

View file

@ -25,7 +25,6 @@
"ksubileau/color-thief-php": "^1.3", "ksubileau/color-thief-php": "^1.3",
"graham-campbell/exceptions": "^9.1", "graham-campbell/exceptions": "^9.1",
"minishlink/web-push": "^1.0", "minishlink/web-push": "^1.0",
"laravel/legacy-encrypter": "^1.0",
"alsofronie/eloquent-uuid": "^1.0" "alsofronie/eloquent-uuid": "^1.0"
}, },
"require-dev": { "require-dev": {

51
composer.lock generated
View file

@ -4,8 +4,8 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"hash": "d6931f271706348a79f32feeab1c9902", "hash": "9b2297ef01f39e9d732b9ff50dc60203",
"content-hash": "bf3d7332057e254a4b97b1916782e6bb", "content-hash": "4b9f2079d6a15098a09e1546396ac762",
"packages": [ "packages": [
{ {
"name": "alsofronie/eloquent-uuid", "name": "alsofronie/eloquent-uuid",
@ -1847,53 +1847,6 @@
], ],
"time": "2016-09-29 22:13:17" "time": "2016-09-29 22:13:17"
}, },
{
"name": "laravel/legacy-encrypter",
"version": "v1.0.0",
"source": {
"type": "git",
"url": "https://github.com/laravel/legacy-encrypter.git",
"reference": "4047fc1e6a9346501ba48ba3f79509534875dea3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/legacy-encrypter/zipball/4047fc1e6a9346501ba48ba3f79509534875dea3",
"reference": "4047fc1e6a9346501ba48ba3f79509534875dea3",
"shasum": ""
},
"require": {
"ext-mbstring": "*",
"ext-openssl": "*",
"illuminate/contracts": "5.3.*",
"illuminate/support": "5.3.*",
"paragonie/random_compat": "~1.4|~2.0",
"php": ">=5.5.9"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
}
},
"autoload": {
"psr-4": {
"Laravel\\LegacyEncrypter\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Taylor Otwell",
"email": "taylor@laravel.com"
}
],
"description": "The legacy version of the Laravel mcrypt encrypter.",
"homepage": "http://laravel.com",
"time": "2016-08-03 21:22:03"
},
{ {
"name": "league/flysystem", "name": "league/flysystem",
"version": "1.0.27", "version": "1.0.27",