fixed typo and redundant method call

This commit is contained in:
Michael Göhler 2012-10-12 11:12:31 +02:00
Родитель d8fe6fbb40
Коммит a6c4046f48
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -555,9 +555,8 @@ class OC{
// if you reach this point you have changed your password
// or you are an attacker
// we can not delete tokens here because users may reach
// this point multible times after a password change
// this point multiple times after a password change
OC_Log::write('core', 'Authentication cookie rejected for user '.$_COOKIE['oc_username'], OC_Log::WARN);
OC_User::unsetMagicInCookie();
}
OC_User::unsetMagicInCookie();
return true;