diff options
-rw-r--r-- | lib/private/Files/Storage/Local.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Files/Storage/Local.php b/lib/private/Files/Storage/Local.php index e3e6ac783d9..e9a9e8e9885 100644 --- a/lib/private/Files/Storage/Local.php +++ b/lib/private/Files/Storage/Local.php @@ -202,9 +202,9 @@ class Local extends \OC\Files\Storage\Common { return false; } if (!is_null($mtime)) { - $result = touch($this->getSourcePath($path), $mtime); + $result = @touch($this->getSourcePath($path), $mtime); } else { - $result = touch($this->getSourcePath($path)); + $result = @touch($this->getSourcePath($path)); } if ($result) { clearstatcache(true, $this->getSourcePath($path)); |