Merge pull request #10988 from owncloud/usetransactions-wrong-name
Fix method name useTransactions
This commit is contained in:
commit
2a382a87d5
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue