From 0ad7f6660c247e1eead0e651f4da73db762e2d2a Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 16 Jul 2008 09:10:34 +0000 Subject: Closes #152 and as a bonus you get a river notification for icon upload as well. Aren't I nice? git-svn-id: https://code.elgg.org/elgg/trunk@1433 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/actions/iconupload.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mod/profile/actions/iconupload.php') diff --git a/mod/profile/actions/iconupload.php b/mod/profile/actions/iconupload.php index 967e58d70..e4185809a 100644 --- a/mod/profile/actions/iconupload.php +++ b/mod/profile/actions/iconupload.php @@ -56,7 +56,9 @@ $_SESSION['user']->icontime = time(); - system_message(elgg_echo("profile:icon:uploaded")); + system_message(elgg_echo("profile:icon:uploaded")); + + trigger_elgg_event('profileiconupdate',$_SESSION['user']->type,$_SESSION['user']); } else { system_message(elgg_echo("profile:icon:notfound")); -- cgit v1.2.3