summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Storage
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2023-04-13 18:56:03 +0200
committerGitHub <noreply@github.com>2023-04-13 18:56:03 +0200
commit3d0cfd1f2d8c2dee9d561288f1036473c988be62 (patch)
tree5bc45ab5ce1b3e5cacb66d6c6eed1e3f7c52af42 /lib/private/Files/Storage
parent6b6c00a30492911657b3ed1592b9222167d903b5 (diff)
downloadnextcloud-server-3d0cfd1f2d8c2dee9d561288f1036473c988be62.tar.gz
nextcloud-server-3d0cfd1f2d8c2dee9d561288f1036473c988be62.zip
Revert "[stable26] handle not being able to write file for notify self-test"
Diffstat (limited to 'lib/private/Files/Storage')
-rw-r--r--lib/private/Files/Storage/Common.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/private/Files/Storage/Common.php b/lib/private/Files/Storage/Common.php
index 23f63dee264..3473eebc4a0 100644
--- a/lib/private/Files/Storage/Common.php
+++ b/lib/private/Files/Storage/Common.php
@@ -207,9 +207,6 @@ abstract class Common implements Storage, ILockingStorage, IWriteStreamStorage {
public function file_put_contents($path, $data) {
$handle = $this->fopen($path, "w");
- if (!$handle) {
- return false;
- }
$this->removeCachedFile($path);
$count = fwrite($handle, $data);
fclose($handle);