]> source.dussan.org Git - nextcloud-server.git/commitdiff
Return true when touch succeeds
authorVincent Petry <pvince81@owncloud.com>
Tue, 26 Nov 2013 11:47:00 +0000 (12:47 +0100)
committerVincent Petry <pvince81@owncloud.com>
Mon, 2 Dec 2013 11:20:35 +0000 (12:20 +0100)
Backported from c2fc0cb8191d1de80058f6572e8e10f5dbda01b2

apps/files_external/lib/streamwrapper.php

index a01204d45fb408b084103a840e353f0747c16856..8412002b14da9b569e104fff49dd26bf9c5b483e 100644 (file)
@@ -85,6 +85,7 @@ abstract class StreamWrapper extends Common {
                        }
                } else {
                        $this->file_put_contents($path, '');
+                       return true;
                }
        }