summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-09-10 14:47:03 +0200
committerRobin Appelman <icewind@owncloud.com>2014-09-10 15:59:24 +0200
commitfa2b385d33e7f2983fd54032aec545a0c088d051 (patch)
treee3c25ef0c1a5822b896fed72c9601703ed3ef569
parentc119a9fd32206b823fe29b13e582dfd1016137a6 (diff)
downloadnextcloud-server-fa2b385d33e7f2983fd54032aec545a0c088d051.tar.gz
nextcloud-server-fa2b385d33e7f2983fd54032aec545a0c088d051.zip
Fix method name
-rw-r--r--lib/private/files/utils/scanner.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/utils/scanner.php b/lib/private/files/utils/scanner.php
index c7da4505af5..adb66497be0 100644
--- a/lib/private/files/utils/scanner.php
+++ b/lib/private/files/utils/scanner.php
@@ -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);