summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Göhler <somebody.here@gmx.de>2012-10-11 12:30:43 +0200
committerMichael Göhler <somebody.here@gmx.de>2012-10-14 22:36:25 +0200
commiteb79ccafe3c0fcb20282d56e6ab04e0c051f929a (patch)
tree0d8a2bca0bfd2f231262a5453f51d23253b22cd6
parent2ea06f67bd8bf8293afdff91fbbc42d021d2c211 (diff)
downloadnextcloud-server-eb79ccafe3c0fcb20282d56e6ab04e0c051f929a.tar.gz
nextcloud-server-eb79ccafe3c0fcb20282d56e6ab04e0c051f929a.zip
forgot a class name
-rw-r--r--lib/base.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/base.php b/lib/base.php
index b02db4d05f5..9cd2ee55b03 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)) {