diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-07-29 10:39:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-29 10:39:46 +0200 |
commit | fb78cd3ed885646302dbacc22c1d8bf056a37dab (patch) | |
tree | dba1deeda192986c9bff29328368e239569ae47c /lib/private/Files/Storage | |
parent | ef86346886680337561fbfdaeb2408b14dc3e8e5 (diff) | |
parent | 1cc8a2f5d251b5f2ab594f9c96eaff77ce6697f3 (diff) | |
download | nextcloud-server-fb78cd3ed885646302dbacc22c1d8bf056a37dab.tar.gz nextcloud-server-fb78cd3ed885646302dbacc22c1d8bf056a37dab.zip |
Merge pull request #16570 from nextcloud/enh/supress_touch_error
Supress warnings touch can generate
Diffstat (limited to 'lib/private/Files/Storage')
-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)); |