From eb79ccafe3c0fcb20282d56e6ab04e0c051f929a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20G=C3=B6hler?= Date: Thu, 11 Oct 2012 12:30:43 +0200 Subject: [PATCH] forgot a class name --- lib/base.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/base.php b/lib/base.php index b02db4d05f..9cd2ee55b0 100644 --- a/lib/base.php +++ b/lib/base.php @@ -537,8 +537,8 @@ class OC{ // confirm credentials in cookie if(isset($_COOKIE['oc_token']) && OC_User::userExists($_COOKIE['oc_username'])) { // delete outdated cookies - cleanupLoginTokens($_COOKIE['oc_username']); - // get new tokens + self::cleanupLoginTokens($_COOKIE['oc_username']); + // get stored tokens $tokens = OC_Preferences::getKeys($_COOKIE['oc_username'], 'login_token'); // test cookies token against stored tokens if (in_array($_COOKIE['oc_token'], $tokens, true)) {