aboutsummaryrefslogtreecommitdiff
path: root/actions/profile/edit.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-13 02:34:43 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-13 02:34:43 +0000
commit2c1ef9deda8db69ffb5c425e7d30de327319505c (patch)
tree473c1065876e9e1c39894717c675024e24358063 /actions/profile/edit.php
parentc8ea870c0444343289afcdd62c831083620568b7 (diff)
downloadelgg-2c1ef9deda8db69ffb5c425e7d30de327319505c.tar.gz
elgg-2c1ef9deda8db69ffb5c425e7d30de327319505c.tar.bz2
Fixes #2372 fixed the entity included in profile update event
git-svn-id: http://code.elgg.org/elgg/trunk@7875 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/profile/edit.php')
-rw-r--r--actions/profile/edit.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/actions/profile/edit.php b/actions/profile/edit.php
index 2d7c25d37..260f2aba9 100644
--- a/actions/profile/edit.php
+++ b/actions/profile/edit.php
@@ -96,12 +96,7 @@ if (sizeof($input) > 0) {
$owner->save();
// Notify of profile update
- elgg_trigger_event('profileupdate', $user->type, $user);
-
- //add to river if edited by self
- if (get_loggedin_userid() == $user->guid) {
- add_to_river('river/user/default/profileupdate', 'update', get_loggedin_userid(), get_loggedin_userid(), get_default_access(get_loggedin_user()));
- }
+ elgg_trigger_event('profileupdate', $owner->type, $owner);
system_message(elgg_echo("profile:saved"));
}