Skip to content
Snippets Groups Projects
Commit cc00c54f authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Remove uneeded returns

parent e8b45caa
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
/**
......
......@@ -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;
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment