aboutsummaryrefslogtreecommitdiff
path: root/actions/avatar/crop.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/avatar/crop.php')
-rw-r--r--actions/avatar/crop.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/actions/avatar/crop.php b/actions/avatar/crop.php
index ed5faecfa..9c57530ae 100644
--- a/actions/avatar/crop.php
+++ b/actions/avatar/crop.php
@@ -65,5 +65,8 @@ $owner->y1 = $y1;
$owner->y2 = $y2;
system_message(elgg_echo('avatar:crop:success'));
+$view = 'river/user/default/profileiconupdate';
+elgg_delete_river(array('subject_guid' => $owner->guid, 'view' => $view));
+add_to_river($view, 'update', $owner->guid, $owner->guid);
forward(REFERER);