No need for public
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sun, 15 Feb 2009 20:55:31 +0000 (15:55 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sun, 15 Feb 2009 20:55:31 +0000 (15:55 -0500)
framework/Service_Facebook/lib/Horde/Service/Facebook.php

index 206bcd1..8368310 100644 (file)
@@ -257,7 +257,7 @@ class Horde_Service_Facebook
         return $this->user;
     }
 
-    public static function current_url()
+    private static function _current_url()
     {
         // Is this autoloadable / should we just copy this functionality to avoid
         // the dependency?
@@ -296,7 +296,7 @@ class Horde_Service_Facebook
         }
 
         // if we get here, we need to redirect the user to log in
-        $this->redirect($this->get_login_url(self::current_url()));
+        $this->redirect($this->get_login_url(self::_current_url()));
     }
 
     /**