From: Cash Costello Date: Thu, 30 Jul 2009 11:40:38 +0000 (+0000) Subject: update notification text regardless of notification method type X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=b419b142276a3451bcc162e334172f0797ab54f5;p=lorea%2Felgg.git update notification text regardless of notification method type --- diff --git a/start.php b/start.php index 0851a3e5c..c44c3cfc1 100644 --- a/start.php +++ b/start.php @@ -356,10 +356,8 @@ { $descr = $entity->description; $title = $entity->title; - if ($method == 'email') { - $owner = $entity->getOwnerEntity(); - return sprintf(elgg_echo('album:river:created'), $owner->name) . ' ' . $title . "\n\n" . $descr . "\n\n" . $entity->getURL(); - } + $owner = $entity->getOwnerEntity(); + return sprintf(elgg_echo('album:river:created'), $owner->name) . ' ' . $title . "\n\n" . $descr . "\n\n" . $entity->getURL(); } return null; }