Remove uneeded returns

This commit is contained in:
Lukas Reschke 2013-01-14 20:18:08 +01:00
parent e8b45caa51
commit cc00c54f6a
2 changed files with 1 additions and 5 deletions

View File

@ -73,12 +73,10 @@ class User {
}
/**
* @brief Loggs the user out including all the session data
* @returns true
*
* Logout, destroys session
*/
public static function logout() {
return \OC_USER::logout();
\OC_USER::logout();
}
/**

View File

@ -267,7 +267,6 @@ class OC_User {
/**
* @brief Logs the current user out and kills all the session data
* @returns true
*
* Logout, destroys session
*/
@ -276,7 +275,6 @@ class OC_User {
session_unset();
session_destroy();
OC_User::unsetMagicInCookie();
return true;
}
/**