From: friendica Date: Tue, 3 Apr 2012 02:38:13 +0000 (-0700) Subject: don't change ssl settings on local photos for remote contact X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e1de2e3de0142c350fd74ea2161117ed61654dd6;p=friendica.git don't change ssl settings on local photos for remote contact --- diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php index 8e4ce06719..4ce3246520 100755 --- a/mod/dfrn_notify.php +++ b/mod/dfrn_notify.php @@ -107,9 +107,6 @@ function dfrn_notify_post(&$a) { $ssl_changed = true; $importer['url'] = str_replace('https:','http:',$importer['url']); $importer['nurl'] = normalise_link($importer['url']); - $importer['photo'] = str_replace('https:','http:',$importer['photo']); - $importer['thumb'] = str_replace('https:','http:',$importer['thumb']); - $importer['micro'] = str_replace('https:','http:',$importer['micro']); $importer['request'] = str_replace('https:','http:',$importer['request']); $importer['notify'] = str_replace('https:','http:',$importer['notify']); $importer['poll'] = str_replace('https:','http:',$importer['poll']); @@ -121,9 +118,6 @@ function dfrn_notify_post(&$a) { $ssl_changed = true; $importer['url'] = str_replace('http:','https:',$importer['url']); $importer['nurl'] = normalise_link($importer['url']); - $importer['photo'] = str_replace('http:','https:',$importer['photo']); - $importer['thumb'] = str_replace('http:','https:',$importer['thumb']); - $importer['micro'] = str_replace('http:','https:',$importer['micro']); $importer['request'] = str_replace('http:','https:',$importer['request']); $importer['notify'] = str_replace('http:','https:',$importer['notify']); $importer['poll'] = str_replace('http:','https:',$importer['poll']); @@ -146,9 +140,6 @@ function dfrn_notify_post(&$a) { where id = %d limit 1", dbesc($importer['url']), dbesc($importer['nurl']), - dbesc($importer['photo']), - dbesc($importer['thumb']), - dbesc($importer['micro']), dbesc($importer['request']), dbesc($importer['notify']), dbesc($importer['poll']),