From 3507964820564f384b1c05c05aa4cf95c9a224c7 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Wed, 4 Jun 2014 12:36:53 +0200 Subject: [PATCH] Fixed quota wrapper to return the value from flock() --- lib/private/files/stream/quota.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/files/stream/quota.php b/lib/private/files/stream/quota.php index 60e60da8e6..bb4623b1a7 100644 --- a/lib/private/files/stream/quota.php +++ b/lib/private/files/stream/quota.php @@ -123,7 +123,7 @@ class Quota { } public function stream_lock($mode) { - flock($this->source, $mode); + return flock($this->source, $mode); } public function stream_flush() {