mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
fixing other peoples bad coding style ;-)
This commit is contained in:
parent
3764b61be7
commit
26974d0465
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ $errors=OC_UTIL::checkServer();
|
|||
if(count($errors)>0){
|
||||
OC_TEMPLATE::printGuestPage( "", "error", array( "errors" => $errors ));
|
||||
}elseif( OC_USER::isLoggedIn()){
|
||||
if( $_GET["logout"] ){
|
||||
if( isset($_GET["logout"]) and ($_GET["logout"]) ){
|
||||
OC_USER::logout();
|
||||
header( "Location: $WEBROOT");
|
||||
exit();
|
||||
|
|
|
|||
Loading…
Reference in a new issue