summaryrefslogtreecommitdiffstats
path: root/install.php
diff options
context:
space:
mode:
authorSimon Rettberg2023-11-02 19:08:58 +0100
committerSimon Rettberg2023-11-02 19:08:58 +0100
commitc2d95ffaeaa289752b4c7b6664b6ca112a02e350 (patch)
tree2c29b0157d14198aadbdbc9f8c18ded0bd4dadcd /install.php
parent[rebootcontrol] Remove API prototype (diff)
downloadslx-admin-c2d95ffaeaa289752b4c7b6664b6ca112a02e350.tar.gz
slx-admin-c2d95ffaeaa289752b4c7b6664b6ca112a02e350.tar.xz
slx-admin-c2d95ffaeaa289752b4c7b6664b6ca112a02e350.zip
Roundup of issues reported by PHPStorm
Mostly redundant checks, logic errors, dead code, etc.
Diffstat (limited to 'install.php')
-rw-r--r--install.php3
1 files changed, 1 insertions, 2 deletions
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", []);
}