ignore part files

This commit is contained in:
Bjoern Schiessle 2014-05-07 11:47:27 +02:00
parent 283b483100
commit bee48f851e
1 changed files with 6 additions and 0 deletions

View File

@ -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);