From ef3edffae04c7f26b54169834e782d40ea11f9ac Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 11 Mar 2007 06:21:54 +0000 Subject: [PATCH] r1438: Fix a small bug and remove some useless code in AuthenticationDrupal::_fetchCookieUniqueId() --- includes/auth/auth_drupal.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/includes/auth/auth_drupal.php b/includes/auth/auth_drupal.php index 816e992..534d2ac 100644 --- a/includes/auth/auth_drupal.php +++ b/includes/auth/auth_drupal.php @@ -60,11 +60,7 @@ class AuthenticationDrupal extends Authentication // ################################################################### function _fetchCookieUniqueId() { - if ($sessionId == null) - { - $this->sessionId = $this->registry->in[ $this->cookieName ]; - } - return $this->sessionId; + return $this->registry->in[ $this->cookieName ]; } // ################################################################### -- 2.22.5