diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-13 13:29:51 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-13 13:29:51 +0000 |
commit | 7fab6390acd5cfcdd8458d43eae4ff984aefae43 (patch) | |
tree | 42c2bf208b019c5304e8e2ffbe1255e0e10aeccc /mod/profile/actions/iconupload.php | |
parent | 8b36f8a7741489661c0da6f7e91a3da2682153f1 (diff) | |
download | elgg-7fab6390acd5cfcdd8458d43eae4ff984aefae43.tar.gz elgg-7fab6390acd5cfcdd8458d43eae4ff984aefae43.tar.bz2 |
new river work committed for profiles
git-svn-id: https://code.elgg.org/elgg/trunk@2741 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/actions/iconupload.php')
-rw-r--r-- | mod/profile/actions/iconupload.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/profile/actions/iconupload.php b/mod/profile/actions/iconupload.php index db948b36a..aec433bbd 100644 --- a/mod/profile/actions/iconupload.php +++ b/mod/profile/actions/iconupload.php @@ -59,6 +59,9 @@ system_message(elgg_echo("profile:icon:uploaded"));
trigger_elgg_event('profileiconupdate',$_SESSION['user']->type,$_SESSION['user']);
+
+ //add to river
+ add_to_river('river/user/default/profileiconupdate','update',$_SESSION['user']->guid,$_SESSION['user']->guid);
} else {
system_message(elgg_echo("profile:icon:notfound"));
|