diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-06-12 17:53:56 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-06-14 10:14:08 +0200 |
commit | e7b58ed2bdfe4bb56866e76b8fdd618946fa3c51 (patch) | |
tree | e2c42d3c7c5f08a4094aa61408d5dcf274d881f7 /apps/files_sharing/lib/external/scanner.php | |
parent | 87e311b99628858ddb974cd35ae381a26b4bcdb5 (diff) | |
download | nextcloud-server-e7b58ed2bdfe4bb56866e76b8fdd618946fa3c51.tar.gz nextcloud-server-e7b58ed2bdfe4bb56866e76b8fdd618946fa3c51.zip |
Properly expose read only public shares as read only
Diffstat (limited to 'apps/files_sharing/lib/external/scanner.php')
-rw-r--r-- | apps/files_sharing/lib/external/scanner.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/external/scanner.php b/apps/files_sharing/lib/external/scanner.php index 1f32d79b149..8fb8683ed92 100644 --- a/apps/files_sharing/lib/external/scanner.php +++ b/apps/files_sharing/lib/external/scanner.php @@ -14,6 +14,10 @@ class Scanner extends \OC\Files\Cache\Scanner { */ protected $storage; + public function scan($path, $recursive = self::SCAN_RECURSIVE, $reuse = -1) { + $this->scanAll(); + } + public function scanAll() { $remote = $this->storage->getRemote(); $token = $this->storage->getToken(); |