diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-01-22 15:37:47 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-01-22 15:37:47 +0000 |
commit | 4807d374a4f558d9ae5669e359de05bcb2357ff4 (patch) | |
tree | eb75ffbd049fbccae84f6e28883d993834195282 /engine | |
parent | 9b79c784b2035e767165f7f25ec0c4ffbf7b6fe3 (diff) | |
download | elgg-4807d374a4f558d9ae5669e359de05bcb2357ff4.tar.gz elgg-4807d374a4f558d9ae5669e359de05bcb2357ff4.tar.bz2 |
A further change to ensure notification messages don't get changed for every method if one method needs to make a change.
git-svn-id: https://code.elgg.org/elgg/trunk@2600 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/notification.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/notification.php b/engine/lib/notification.php index 866ebc120..1cb940e0b 100644 --- a/engine/lib/notification.php +++ b/engine/lib/notification.php @@ -383,12 +383,12 @@ foreach($tmp as $k => $v)
if ($v) {
- $string = trigger_plugin_hook('notify:entity:message',$entity->getType(),array(
+ $methodstring = trigger_plugin_hook('notify:entity:message',$entity->getType(),array(
'entity' => $object,
'to_entity' => $user,
'method' => $v
),$string);
- notify_user($user->guid,$object->container_guid,$descr,$string,NULL,array($v));
+ notify_user($user->guid,$object->container_guid,$descr,$methodstring,NULL,array($v));
}
}
}
|