From: Michael J. Rubinsky Date: Sun, 15 Feb 2009 20:41:28 +0000 (-0500) Subject: Revert "If we have https, use https" X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=a37813da55d2aaf820127301e876f009c4f0776a;p=horde.git Revert "If we have https, use https" Applied fix to wrong method This reverts commit bca423dd934d79a209958740b0d91c7e667cb591. --- diff --git a/framework/Service_Facebook/lib/Horde/Service/Facebook.php b/framework/Service_Facebook/lib/Horde/Service/Facebook.php index 20f227f64..16de1bbcb 100644 --- a/framework/Service_Facebook/lib/Horde/Service/Facebook.php +++ b/framework/Service_Facebook/lib/Horde/Service/Facebook.php @@ -301,7 +301,7 @@ class Horde_Service_Facebook */ public static function get_facebook_url($subdomain = 'www') { - return (!empty($_SERVER['HTTPS']) ? 'https://' : 'http://') . $subdomain . '.facebook.com'; + return 'http://' . $subdomain . '.facebook.com'; } /**