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.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/profile/actions/iconupload.php b/mod/profile/actions/iconupload.php
index e4185809a..e4f6f7d4c 100644
--- a/mod/profile/actions/iconupload.php
+++ b/mod/profile/actions/iconupload.php
@@ -20,7 +20,7 @@
$small = get_resized_image_from_uploaded_file('profileicon',40,40, true);
$medium = get_resized_image_from_uploaded_file('profileicon',100,100, true);
$large = get_resized_image_from_uploaded_file('profileicon',200,200);
- $master = get_resized_image_from_uploaded_file('profileicon',600,600);
+ $master = get_resized_image_from_uploaded_file('profileicon',550,550);
if ($small !== false
&& $medium !== false
@@ -56,8 +56,8 @@
$_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 {