diff options
author | friendica <info@friendica.com> | 2012-04-03 20:14:37 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-04-03 20:14:37 -0700 |
commit | 466188ebd77a4ef07fce459d9a591f4b45b08d44 (patch) | |
tree | f304a0e8ed2a4de843a5ff838d918210ae6398ed | |
parent | 96abee53e49c70679919dc0f0ac8a44439e36aa3 (diff) | |
download | volse-hubzilla-466188ebd77a4ef07fce459d9a591f4b45b08d44.tar.gz volse-hubzilla-466188ebd77a4ef07fce459d9a591f4b45b08d44.tar.bz2 volse-hubzilla-466188ebd77a4ef07fce459d9a591f4b45b08d44.zip |
re-opened bug #363
-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); |