aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/actions/iconupload.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/actions/iconupload.php')
-rw-r--r--mod/profile/actions/iconupload.php4
1 files changed, 3 insertions, 1 deletions
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"));