From: friendica Date: Wed, 4 Apr 2012 03:14:37 +0000 (-0700) Subject: re-opened bug #363 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=466188ebd77a4ef07fce459d9a591f4b45b08d44;p=friendica.git re-opened bug #363 --- diff --git a/mod/admin.php b/mod/admin.php index 8caa763707..a395027c11 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);