Skip to content
Snippets Groups Projects
Commit 2a382a87 authored by Thomas Müller's avatar Thomas Müller
Browse files

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

Fix method name useTransactions
parents 1d639161 fa2b385d
Branches
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment