mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-26 19:58:53 +02:00
Removed unused variables.
This commit is contained in:
parent
3671c94844
commit
0fe83c7b3a
18 changed files with 14 additions and 29 deletions
|
@ -41,7 +41,7 @@ final class Version1 extends AbstractMigration
|
|||
try {
|
||||
//Check if we can use this migration method:
|
||||
$version = (int) $this->connection->fetchColumn("SELECT keyValue AS version FROM `internal` WHERE `keyName` = 'dbVersion'");
|
||||
$this->skipIf(true, 'Old Part-DB Database detected! Continue with upgrade...');
|
||||
$this->skipIf($version > 0, 'Old Part-DB Database detected! Continue with upgrade...');
|
||||
} catch (DBALException $dBALException) {
|
||||
//when the table was not found, we can proceed, because we have an empty DB!
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue