Clean up some unused variables.
This is essentially 1ccc0c8c1a without the renames and some other things related to Psalm.
This commit is contained in:
@@ -35,7 +35,7 @@ class Db_Migrations {
|
||||
|
||||
$sth = $this->pdo->query("SELECT * FROM {$this->migrations_table}");
|
||||
|
||||
if ($res = $sth->fetch()) {
|
||||
if ($sth->fetch()) {
|
||||
$sth = $this->pdo->prepare("UPDATE {$this->migrations_table} SET schema_version = ?");
|
||||
} else {
|
||||
$sth = $this->pdo->prepare("INSERT INTO {$this->migrations_table} (schema_version) VALUES (?)");
|
||||
|
||||
Reference in New Issue
Block a user