diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-07-30 11:40:38 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-07-30 11:40:38 +0000 |
commit | b419b142276a3451bcc162e334172f0797ab54f5 (patch) | |
tree | 3e7d0fd64544eaf23460f429723163c52524cfca | |
parent | 0a0fc516dcc7a7770d89c8e8a5dbb2e578850551 (diff) | |
download | elgg-b419b142276a3451bcc162e334172f0797ab54f5.tar.gz elgg-b419b142276a3451bcc162e334172f0797ab54f5.tar.bz2 |
update notification text regardless of notification method type
-rw-r--r-- | start.php | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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;
}
|