Browse Source

Remove uneeded returns

remotes/origin/stable5
Lukas Reschke 13 years ago
parent
commit
cc00c54f6a
  1. 4
      lib/public/user.php
  2. 2
      lib/user.php

4
lib/public/user.php

@ -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();
}
/**

2
lib/user.php

@ -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;
}
/**

Loading…
Cancel
Save