diff options
Diffstat (limited to 'core/command/maintenance/repair.php')
-rw-r--r-- | core/command/maintenance/repair.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/command/maintenance/repair.php b/core/command/maintenance/repair.php index 9af5996b2e1..7c0cf71d3b6 100644 --- a/core/command/maintenance/repair.php +++ b/core/command/maintenance/repair.php @@ -35,10 +35,6 @@ class Repair extends Command { } protected function execute(InputInterface $input, OutputInterface $output) { - // TODO: inject DB connection/factory when possible - $connection = \OC_DB::getConnection(); - $connection->disableQueryStatementCaching(); - $maintenanceMode = $this->config->getValue('maintenance', false); $this->config->setValue('maintenance', true); |