Skip to content

Commit

Permalink
Merge pull request #435 from XGProyect/revert-429-fix-ban-db-error
Browse files Browse the repository at this point in the history
Revert "Fix database error displayed to user when banned"
  • Loading branch information
LucasKovacs authored Nov 17, 2020
2 parents b3ca95f + 26cc95d commit 56c49ec
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/upload/app/libraries/UsersLibrary.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,10 +244,6 @@ private function displayLoginErrors($user_row)
}

if ($user_row['user_banned'] > 0) {
// Store new session data
// before destroying Database object
session_write_close();

$core = new Language();
$ci_lang = $core->loadLang('game/global', true);

Expand Down

0 comments on commit 56c49ec

Please sign in to comment.