Merge pull request #10761 from canadaduane/fix_occ_upgrade

Ensure db connection before changing cache state
remotes/origin/fix-10825
Thomas Müller 12 years ago
commit 6cdb1d89ae
  1. 1
      lib/private/db.php

@ -417,6 +417,7 @@ class OC_DB {
* @param bool $enabled
*/
static public function enableCaching($enabled) {
self::connect();
if ($enabled) {
self::$connection->enableQueryStatementCaching();
} else {

Loading…
Cancel
Save