summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-06-18 14:42:48 +0200
committerRobin Appelman <icewind@owncloud.com>2015-06-18 14:42:48 +0200
commit2a50dbd1a12ac9691513881c43006affba01f921 (patch)
tree8c30e9c35d321fcd99f4ad2167183210feda0b19 /lib
parent3e54696f7f44f99c4203d75a13834ac4f33c938b (diff)
downloadnextcloud-server-2a50dbd1a12ac9691513881c43006affba01f921.tar.gz
nextcloud-server-2a50dbd1a12ac9691513881c43006affba01f921.zip
update noopscanner
Diffstat (limited to 'lib')
-rw-r--r--lib/private/files/objectstore/noopscanner.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/files/objectstore/noopscanner.php b/lib/private/files/objectstore/noopscanner.php
index ed6f8c9de27..3a0df13a290 100644
--- a/lib/private/files/objectstore/noopscanner.php
+++ b/lib/private/files/objectstore/noopscanner.php
@@ -40,7 +40,7 @@ class NoopScanner extends Scanner {
* @param array|null $cacheData existing data in the cache for the file to be scanned
* @return array an array of metadata of the scanned file
*/
- public function scanFile($file, $reuseExisting = 0, $parentId = -1, $cacheData = null) {
+ public function scanFile($file, $reuseExisting = 0, $parentId = -1, $cacheData = null, $lock = true) {
return array();
}
@@ -52,7 +52,7 @@ class NoopScanner extends Scanner {
* @param int $reuse
* @return array with the meta data of the scanned file or folder
*/
- public function scan($path, $recursive = self::SCAN_RECURSIVE, $reuse = -1) {
+ public function scan($path, $recursive = self::SCAN_RECURSIVE, $reuse = -1, $lock = true) {
return array();
}
@@ -65,7 +65,7 @@ class NoopScanner extends Scanner {
* @param array $folderData existing cache data for the folder to be scanned
* @return int the size of the scanned folder or -1 if the size is unknown at this stage
*/
- protected function scanChildren($path, $recursive = self::SCAN_RECURSIVE, $reuse = -1, $folderData = null) {
+ protected function scanChildren($path, $recursive = self::SCAN_RECURSIVE, $reuse = -1, $folderData = null, $lock = true) {
return 0;
}