diff options
author | zottel <github@zottel.net> | 2012-04-04 08:56:35 +0200 |
---|---|---|
committer | zottel <github@zottel.net> | 2012-04-04 08:56:35 +0200 |
commit | 64a1367525ac920721943a08adec1124657df70d (patch) | |
tree | bf23c495a023915b0d4063adfb6fc04e046a28d8 /mod/admin.php | |
parent | e5cd5aab5cf5fd5019ec3178f09f5515c390c9d9 (diff) | |
parent | 5c6c9d756fbb816c1473ccb7b6ec72662c749f4f (diff) | |
download | volse-hubzilla-64a1367525ac920721943a08adec1124657df70d.tar.gz volse-hubzilla-64a1367525ac920721943a08adec1124657df70d.tar.bz2 volse-hubzilla-64a1367525ac920721943a08adec1124657df70d.zip |
Merge remote branch 'upstream/master'
Diffstat (limited to 'mod/admin.php')
-rwxr-xr-x | mod/admin.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mod/admin.php b/mod/admin.php index 8caa76370..a395027c1 100755 --- a/mod/admin.php +++ b/mod/admin.php @@ -222,6 +222,11 @@ function admin_page_site_post(&$a){ `poco` = replace(`poco` , 'http:' , 'https:') where `self` = 1" ); + q("update `profile` set + `photo` = replace(`photo` , 'http:' , 'https:'), + `thumb` = replace(`thumb` , 'http:' , 'https:') + where 1 " + ); } elseif($ssl_policy == SSL_POLICY_SELFSIGN) { q("update `contact` set @@ -236,6 +241,11 @@ function admin_page_site_post(&$a){ `poco` = replace(`poco` , 'https:' , 'http:') where `self` = 1" ); + q("update `profile` set + `photo` = replace(`photo` , 'https:' , 'http:'), + `thumb` = replace(`thumb` , 'https:' , 'http:') + where 1 " + ); } } set_config('system','ssl_policy',$ssl_policy); |