From c2d95ffaeaa289752b4c7b6664b6ca112a02e350 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 2 Nov 2023 19:08:58 +0100 Subject: Roundup of issues reported by PHPStorm Mostly redundant checks, logic errors, dead code, etc. --- install.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'install.php') diff --git a/install.php b/install.php index e403ad7e..d411d834 100644 --- a/install.php +++ b/install.php @@ -142,8 +142,7 @@ function tableExists($table) } function tableRename($old, $new) { - $res = Database::simpleQuery("RENAME TABLE $old TO $new", []); - return $res; + return Database::simpleQuery("RENAME TABLE $old TO $new", []); } -- cgit v1.2.3-55-g7522