Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-01-20 18:21:21 +0400
committerRobin Appelman <icewind@owncloud.com>2014-01-20 18:21:21 +0400
commit3d6d8d1bb683f9daca3a2b8a876e291adc320375 (patch)
treec651cdbce0edcfc34745a8f3404a21cef8752927 /apps
parent62dd58aa190e5c53d8924e30a37dcc69f9495f6c (diff)
Reuse the data retrieved from the cache in checkUpdate
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/lib/watcher.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/watcher.php b/apps/files_sharing/lib/watcher.php
index c40cf6911b8..285b1a58c6e 100644
--- a/apps/files_sharing/lib/watcher.php
+++ b/apps/files_sharing/lib/watcher.php
@@ -32,7 +32,7 @@ class Shared_Watcher extends Watcher {
* @param string $path
*/
public function checkUpdate($path) {
- if ($path != '' && parent::checkUpdate($path)) {
+ if ($path != '' && parent::checkUpdate($path) === true) {
// since checkUpdate() has already updated the size of the subdirs,
// only apply the update to the owner's parent dirs