diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-09-10 13:11:04 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-10-22 12:26:43 +0200 |
commit | d4e929c37a70291e33c9a686e6e5576bd2a3dd86 (patch) | |
tree | 80d628f8f3bd231bd0dcefd1b71529f28311f9e0 /core | |
parent | 97a6f5c46b508cca2c6b55c062945fee5da7f834 (diff) | |
download | nextcloud-server-d4e929c37a70291e33c9a686e6e5576bd2a3dd86.tar.gz nextcloud-server-d4e929c37a70291e33c9a686e6e5576bd2a3dd86.zip |
Remove implicit prepared statement cache and get the connection from the server container in \OC_DB
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); |