Merge pull request #10988 from owncloud/usetransactions-wrong-name

Fix method name useTransactions
This commit is contained in:
Thomas Müller 2014-09-10 17:27:23 +02:00
commit 2a382a87d5
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ class Scanner extends PublicEmitter {
throw new ForbiddenException();
}
$scanner = $storage->getScanner();
$scanner->useTransactions(false);
$scanner->setUseTransactions(false);
$this->attachListener($mount);
$this->db->beginTransaction();
$scanner->scan('', \OC\Files\Cache\Scanner::SCAN_RECURSIVE, \OC\Files\Cache\Scanner::REUSE_ETAG | \OC\Files\Cache\Scanner::REUSE_SIZE);