diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-10-23 13:48:33 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-10-23 13:48:33 +0200 |
commit | 6c1871da06d127abdf7ce2fd5d3beb7683fe42a0 (patch) | |
tree | 1c21a9a3d136ba1dc8391e12a37cdfe3ffe0bda8 /core | |
parent | 7c14a173619cce5c3f637888865e0786a727f5c8 (diff) | |
parent | 0dcb83203910a8de5bcfaca8cbad9fef1845a2ea (diff) | |
download | nextcloud-server-6c1871da06d127abdf7ce2fd5d3beb7683fe42a0.tar.gz nextcloud-server-6c1871da06d127abdf7ce2fd5d3beb7683fe42a0.zip |
Merge pull request #10985 from owncloud/db-cleanup
Cleanup database handling
Diffstat (limited to 'core')
-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); |