Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
Quetzacoalt91 committed Dec 20, 2024
1 parent 6bfcde9 commit 8715ec9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions classes/Task/Backup/BackupDatabase.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,6 @@ public function run(): int
$written += fwrite($fp, $schema[0]['Create Table'] . ";\n\n");
// schema created, now we need to create the missing vars
$state->setBackupTable($table);
//TODO: The related getter was never called. Check if we can remove this
// $lines = explode("\n", $schema[0]['Create Table']);
// $state->setBackupLines($lines);
}
}
// end of schema
Expand Down Expand Up @@ -251,8 +248,6 @@ public function run(): int
}
$state
->setBackupLoopLimit(null)
// TODO: remove if we confirm it is unused
// ->setBackupLines(null)
->setBackupTable(null);

$this->stepDone = true;
Expand Down

0 comments on commit 8715ec9

Please sign in to comment.