From: Chuck Hagenbuch Date: Sat, 24 Jul 2010 20:10:31 +0000 (-0400) Subject: Fix type ($cookie => $cookies) X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=3a6722cf9371f9399c19d828d1ff7a7b8603f472;p=horde.git Fix type ($cookie => $cookies) --- diff --git a/framework/Service_Facebook/lib/Horde/Service/Facebook/Auth.php b/framework/Service_Facebook/lib/Horde/Service/Facebook/Auth.php index 29f2b7c5e..b405708be 100644 --- a/framework/Service_Facebook/lib/Horde/Service/Facebook/Auth.php +++ b/framework/Service_Facebook/lib/Horde/Service/Facebook/Auth.php @@ -60,7 +60,6 @@ class Horde_Service_Facebook_Auth const EXTEND_PERMS_READSTREAM = 'read_stream'; - /** * Const'r * @@ -105,7 +104,6 @@ class Horde_Service_Facebook_Auth . $this->_facebook->apiKey; } - /** * Return the URL needed for approving an extendted permission. * @@ -438,9 +436,8 @@ class Horde_Service_Facebook_Auth public function setUser($user, $sessionKey, $expires = null, $noCookie = false) { $cookies = $this->_request->getCookieVars(); - if (!$noCookie && (!$cookie[$this->_facebook->apiKey . '_user'] || - $cookie[$this->_facebook->apiKey . '_user'] != $user)) { - + if (!$noCookie && (!$cookies[$this->_facebook->apiKey . '_user'] || + $cookies[$this->_facebook->apiKey . '_user'] != $user)) { $this->setCookies($user, $sessionKey, $expires); } $this->_user = $user;