aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/actions/iconupload.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-11 11:23:09 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-11 11:23:09 +0000
commit0cf0bca9495528ce17d544d8baa840fddcb8cf86 (patch)
tree70336d28ffa2c24db5efc152af384a9fc7ab62c2 /mod/profile/actions/iconupload.php
parent5ef70cb10787266245561b016f337ba7798035ac (diff)
downloadelgg-0cf0bca9495528ce17d544d8baa840fddcb8cf86.tar.gz
elgg-0cf0bca9495528ce17d544d8baa840fddcb8cf86.tar.bz2
Fixed icon cache issue.
git-svn-id: https://code.elgg.org/elgg/trunk@862 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/actions/iconupload.php')
-rw-r--r--mod/profile/actions/iconupload.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/profile/actions/iconupload.php b/mod/profile/actions/iconupload.php
index a1e29b255..7c7e95f37 100644
--- a/mod/profile/actions/iconupload.php
+++ b/mod/profile/actions/iconupload.php
@@ -43,6 +43,8 @@
$filehandler->write($small);
$filehandler->close();
+ $_SESSION['user']->icontime = time();
+
system_message(elgg_echo("profile:icon:uploaded"));
} else {