diff options
author | friendica <info@friendica.com> | 2013-08-27 02:27:36 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-08-27 02:27:36 -0700 |
commit | 6a2cb837afc41dfe2e535164edb1865d4b0278a4 (patch) | |
tree | 63ac63f322ff76b03a973353ad2ff78982443e3e /include/items.php | |
parent | 31b934eb5e65abc0181918cb21b8e51390966a3d (diff) | |
download | volse-hubzilla-6a2cb837afc41dfe2e535164edb1865d4b0278a4.tar.gz volse-hubzilla-6a2cb837afc41dfe2e535164edb1865d4b0278a4.tar.bz2 volse-hubzilla-6a2cb837afc41dfe2e535164edb1865d4b0278a4.zip |
get rid of ssl_policy - it's implicit in the site url
Diffstat (limited to 'include/items.php')
-rwxr-xr-x | include/items.php | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/include/items.php b/include/items.php index 10bdcb38f..c695a9b72 100755 --- a/include/items.php +++ b/include/items.php @@ -2320,21 +2320,21 @@ function dfrn_deliver($owner,$contact,$atom, $dissolve = false) { if(! $rino_enable) $rino = 0; - $ssl_val = intval(get_config('system','ssl_policy')); - $ssl_policy = ''; - - switch($ssl_val){ - case SSL_POLICY_FULL: - $ssl_policy = 'full'; - break; - case SSL_POLICY_SELFSIGN: - $ssl_policy = 'self'; - break; - case SSL_POLICY_NONE: - default: - $ssl_policy = 'none'; - break; - } +// $ssl_val = intval(get_config('system','ssl_policy')); +// $ssl_policy = ''; + +// switch($ssl_val){ +// case SSL_POLICY_FULL: +// $ssl_policy = 'full'; +// break; +// case SSL_POLICY_SELFSIGN: +// $ssl_policy = 'self'; +// break; +// case SSL_POLICY_NONE: +// default: +// $ssl_policy = 'none'; +// break; +// } $url = $contact['notify'] . '&dfrn_id=' . $idtosend . '&dfrn_version=' . DFRN_PROTOCOL_VERSION . (($rino) ? '&rino=1' : ''); @@ -2423,7 +2423,7 @@ function dfrn_deliver($owner,$contact,$atom, $dissolve = false) { $postvars['perm'] = 'r'; } - $postvars['ssl_policy'] = $ssl_policy; +// $postvars['ssl_policy'] = $ssl_policy; if($page) $postvars['page'] = $page; |