aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-07-30 11:40:38 +0000
committerCash Costello <cash.costello@gmail.com>2009-07-30 11:40:38 +0000
commitb419b142276a3451bcc162e334172f0797ab54f5 (patch)
tree3e7d0fd64544eaf23460f429723163c52524cfca
parent0a0fc516dcc7a7770d89c8e8a5dbb2e578850551 (diff)
downloadelgg-b419b142276a3451bcc162e334172f0797ab54f5.tar.gz
elgg-b419b142276a3451bcc162e334172f0797ab54f5.tar.bz2
update notification text regardless of notification method type
-rw-r--r--start.php6
1 files changed, 2 insertions, 4 deletions
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;
}