Skip to content

Commit 11ea92f

Browse files
authored
Merge pull request #616 from nextcloud/fix/silence-rename-warnings
2 parents 8176d58 + da70ef7 commit 11ea92f

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

lib/Updater.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,7 @@ private function moveWithExclusions(string $dataLocation, array $excludedElement
988988
throw new \Exception('Could not mkdir ' . $this->nextcloudDir . '/' . dirname($fileName));
989989
}
990990
}
991-
$state = rename($path, $this->nextcloudDir . '/' . $fileName);
991+
$state = @rename($path, $this->nextcloudDir . '/' . $fileName);
992992
if ($state === false) {
993993
throw new \Exception(
994994
sprintf(

updater.phar

397 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)