]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
update notification text regardless of notification method type
authorCash Costello <cash.costello@gmail.com>
Thu, 30 Jul 2009 11:40:38 +0000 (11:40 +0000)
committerCash Costello <cash.costello@gmail.com>
Thu, 30 Jul 2009 11:40:38 +0000 (11:40 +0000)
start.php

index 0851a3e5c7d73e1888aa37af5162c0d5419bb648..c44c3cfc1fcad7c8573381d671c42e4f7c0b29a2 100644 (file)
--- a/start.php
+++ b/start.php
                {\r
                        $descr = $entity->description;\r
                        $title = $entity->title;\r
-                       if ($method == 'email') {\r
-                               $owner = $entity->getOwnerEntity();\r
-                               return sprintf(elgg_echo('album:river:created'), $owner->name) . ' ' . $title . "\n\n" . $descr . "\n\n" . $entity->getURL();\r
-                       }\r
+                       $owner = $entity->getOwnerEntity();\r
+                       return sprintf(elgg_echo('album:river:created'), $owner->name) . ' ' . $title . "\n\n" . $descr . "\n\n" . $entity->getURL();\r
                }\r
                return null;\r
        }\r