diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-04-08 19:57:07 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-04-23 12:54:25 +0200 |
commit | ed981294f11bd59733e0d121cbf737e16275b666 (patch) | |
tree | 8b13b3224a29db6e3aa64170154c6f2e1b941595 /apps/files_sharing/lib/watcher.php | |
parent | 27c5a978f91e7aa447a2acca040fd173baba53b9 (diff) | |
download | nextcloud-server-ed981294f11bd59733e0d121cbf737e16275b666.tar.gz nextcloud-server-ed981294f11bd59733e0d121cbf737e16275b666.zip |
fix share api tests
Diffstat (limited to 'apps/files_sharing/lib/watcher.php')
-rw-r--r-- | apps/files_sharing/lib/watcher.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/watcher.php b/apps/files_sharing/lib/watcher.php index 285b1a58c6e..11d3ce1cabd 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) === true) { + if (parent::checkUpdate($path) === true) { // since checkUpdate() has already updated the size of the subdirs, // only apply the update to the owner's parent dirs |