Revert "If we have https, use https"
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sun, 15 Feb 2009 20:41:28 +0000 (15:41 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sun, 15 Feb 2009 20:41:28 +0000 (15:41 -0500)
Applied fix to wrong method
This reverts commit bca423dd934d79a209958740b0d91c7e667cb591.

framework/Service_Facebook/lib/Horde/Service/Facebook.php

index 20f227f..16de1bb 100644 (file)
@@ -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';
     }
 
     /**