diff options
author | Andrew Dolgov <[email protected]> | 2024-01-13 18:29:30 +0000 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2024-01-13 18:29:30 +0000 |
commit | 283ad4ebea9e93a97848000f38ca91b23ce883ff (patch) | |
tree | 0b9ea618b438156b3803df115afec5e34d30e3a8 /classes/Db_Migrations.php | |
parent | d334023267848accb339c8ec3186be2afde3b514 (diff) | |
parent | 8727fb3ba8a28da48c71bdd39166b9aeb3c3d986 (diff) |
Merge branch 'feature/unused-var-cleanup' into 'master'
Clean up some unused variables.
See merge request tt-rss/tt-rss!19
Diffstat (limited to 'classes/Db_Migrations.php')
-rw-r--r-- | classes/Db_Migrations.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Db_Migrations.php b/classes/Db_Migrations.php index d63736987..c2a8c326d 100644 --- a/classes/Db_Migrations.php +++ b/classes/Db_Migrations.php @@ -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 (?)"); |