diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2015-10-12 13:59:16 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2015-10-12 13:59:16 +0200 |
commit | 8185eaa6dd1ca6c86bff73002e5a1a71bbd17529 (patch) | |
tree | 2558059280cafb8f7f2d6f9bfe24883eadf32649 /lib/private/files/cache | |
parent | 0036c637fcafe121cd964f29ad998c9b1bfc31ec (diff) | |
download | nextcloud-server-8185eaa6dd1ca6c86bff73002e5a1a71bbd17529.tar.gz nextcloud-server-8185eaa6dd1ca6c86bff73002e5a1a71bbd17529.zip |
also detect files in a .part folder as part file
Diffstat (limited to 'lib/private/files/cache')
-rw-r--r-- | lib/private/files/cache/scanner.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/files/cache/scanner.php b/lib/private/files/cache/scanner.php index dbffba1e306..b0890dcdc00 100644 --- a/lib/private/files/cache/scanner.php +++ b/lib/private/files/cache/scanner.php @@ -408,6 +408,10 @@ class Scanner extends BasicEmitter { if (pathinfo($file, PATHINFO_EXTENSION) === 'part') { return true; } + if (strpos($file, '.part/') !== false) { + return true; + } + return false; } |