From: Vincent Petry Date: Tue, 26 Nov 2013 11:47:00 +0000 (+0100) Subject: Return true when touch succeeds X-Git-Tag: v5.0.14~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a385e86e5822a3147c4dbf6fb30432ab91004b9f;p=nextcloud-server.git Return true when touch succeeds Backported from c2fc0cb8191d1de80058f6572e8e10f5dbda01b2 --- diff --git a/apps/files_external/lib/streamwrapper.php b/apps/files_external/lib/streamwrapper.php index a01204d45fb..8412002b14d 100644 --- a/apps/files_external/lib/streamwrapper.php +++ b/apps/files_external/lib/streamwrapper.php @@ -85,6 +85,7 @@ abstract class StreamWrapper extends Common { } } else { $this->file_put_contents($path, ''); + return true; } }