remove a bunch of dead variables and things

This commit is contained in:
Shish
2019-10-02 11:23:57 +01:00
parent e08cdb1638
commit 30698fefdc
45 changed files with 51 additions and 111 deletions

View File

@@ -343,8 +343,7 @@ class UserPage extends Extension
// Things done *with* the user {{{
private function page_login($name, $pass)
{
global $config, $user, $page;
global $config, $page;
if (empty($name) || empty($pass)) {
$this->theme->display_error(400, "Error", "Username or password left blank");