mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
ignore part files
This commit is contained in:
parent
283b483100
commit
bee48f851e
1 changed files with 6 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue