From e1de2e3de0142c350fd74ea2161117ed61654dd6 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 2 Apr 2012 19:38:13 -0700 Subject: don't change ssl settings on local photos for remote contact --- mod/dfrn_notify.php | 9 --------- 1 file changed, 9 deletions(-) (limited to 'mod') diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php index 8e4ce0671..4ce324652 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']), -- cgit v1.2.3