diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-05-07 11:47:27 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-05-07 11:47:27 +0200 |
commit | bee48f851ee76cab2367f3f7add641a3a75845eb (patch) | |
tree | 8014736232bd1538a4020dc600c26ff5f94e2fae /apps/files_sharing/lib/updater.php | |
parent | 283b483100c21df143e7f432551f5f5264b8ee55 (diff) | |
download | nextcloud-server-bee48f851ee76cab2367f3f7add641a3a75845eb.tar.gz nextcloud-server-bee48f851ee76cab2367f3f7add641a3a75845eb.zip |
ignore part files
Diffstat (limited to 'apps/files_sharing/lib/updater.php')
-rw-r--r-- | apps/files_sharing/lib/updater.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/updater.php b/apps/files_sharing/lib/updater.php index f7c0a75aeeb..249211c306d 100644 --- a/apps/files_sharing/lib/updater.php +++ b/apps/files_sharing/lib/updater.php @@ -55,6 +55,12 @@ class Shared_Updater { * @param string $target */ static public function correctFolders($target) { + + // ignore part files + if (pathinfo($target, PATHINFO_EXTENSION) === 'part') { + return false; + } + // Correct Shared folders of other users shared with $shares = \OCA\Files_Sharing\Helper::getSharesFromItem($target); |