From 8e6642fae4b0a7bedb4fa6f6972ac5641ae01388 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Sun, 15 Feb 2009 15:55:31 -0500 Subject: [PATCH] No need for public --- framework/Service_Facebook/lib/Horde/Service/Facebook.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/Service_Facebook/lib/Horde/Service/Facebook.php b/framework/Service_Facebook/lib/Horde/Service/Facebook.php index 206bcd1d0..83683103c 100644 --- a/framework/Service_Facebook/lib/Horde/Service/Facebook.php +++ b/framework/Service_Facebook/lib/Horde/Service/Facebook.php @@ -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())); } /** -- 2.11.0