diff options
author | friendica <info@friendica.com> | 2013-09-05 16:26:40 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-09-05 16:26:40 -0700 |
commit | 3b697957af902cbe28aecf70dcf0dfad328a6db1 (patch) | |
tree | 9da26153f5e5039c2e6279d77a529fa21d4787f7 /boot.php | |
parent | 7ecf1626371f9eb55d05c160f5748ecb0b1ba091 (diff) | |
download | volse-hubzilla-3b697957af902cbe28aecf70dcf0dfad328a6db1.tar.gz volse-hubzilla-3b697957af902cbe28aecf70dcf0dfad328a6db1.tar.bz2 volse-hubzilla-3b697957af902cbe28aecf70dcf0dfad328a6db1.zip |
update photo timestamp on site rename
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1343,7 +1343,7 @@ function fix_system_urls($oldurl,$newurl) { // paths aren't going to work. You have to be at the (sub)domain root // . (($parsed['path']) ? $parsed['path'] : ''); - $x = q("update xchan set xchan_addr = '%s', xchan_url = '%s', xchan_connurl = '%s', xchan_follow = '%s', xchan_connpage = '%s', xchan_photo_l = '%s', xchan_photo_m = '%s', xchan_photo_s = '%s' where xchan_hash = '%s' limit 1", + $x = q("update xchan set xchan_addr = '%s', xchan_url = '%s', xchan_connurl = '%s', xchan_follow = '%s', xchan_connpage = '%s', xchan_photo_l = '%s', xchan_photo_m = '%s', xchan_photo_s = '%s', xchan_photo_date = '%s' where xchan_hash = '%s' limit 1", dbesc($channel . '@' . $rhs), dbesc(str_replace($oldurl,$newurl,$rr['xchan_url'])), dbesc(str_replace($oldurl,$newurl,$rr['xchan_connurl'])), @@ -1352,6 +1352,7 @@ function fix_system_urls($oldurl,$newurl) { dbesc(str_replace($oldurl,$newurl,$rr['xchan_photo_l'])), dbesc(str_replace($oldurl,$newurl,$rr['xchan_photo_m'])), dbesc(str_replace($oldurl,$newurl,$rr['xchan_photo_s'])), + dbesc(datetime_convert()), dbesc($rr['xchan_hash']) ); |