diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-08-08 21:03:08 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-08-08 21:03:08 -0700 |
commit | d11c1c63c02e88b3c73336741a2240ccc18d3b02 (patch) | |
tree | af32bf9355c99c578f696aec91f66374acd82208 /mod/profile_photo.php | |
parent | 0bcd5522315649c8d4652b8bfaa9bec328b9d548 (diff) | |
download | volse-hubzilla-d11c1c63c02e88b3c73336741a2240ccc18d3b02.tar.gz volse-hubzilla-d11c1c63c02e88b3c73336741a2240ccc18d3b02.tar.bz2 volse-hubzilla-d11c1c63c02e88b3c73336741a2240ccc18d3b02.zip |
lots of fixes - most recent photo updates for contacts
Diffstat (limited to 'mod/profile_photo.php')
-rw-r--r-- | mod/profile_photo.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/profile_photo.php b/mod/profile_photo.php index 151277249..ebd9f1b48 100644 --- a/mod/profile_photo.php +++ b/mod/profile_photo.php @@ -74,6 +74,11 @@ function profile_photo_post(&$a) { intval($_SESSION['uid']) ); + $r = q("UPDATE `contact` SET `avatar-date` = '%s' WHERE `self` = 1 AND `uid` = %d LIMIT 1", + dbesc(datetime_convert()), + intval($_SESSION['uid']) + ); + } goaway($a->get_baseurl() . '/profiles'); return; // NOTREACHED |