diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-06-04 12:36:53 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-06-04 12:36:53 +0200 |
commit | 3507964820564f384b1c05c05aa4cf95c9a224c7 (patch) | |
tree | 9631b9d418312761e0b2bdaae2ca048d529adc2d /lib/private/files/stream | |
parent | 5adb8f0a8a94b955fd031f8d8226e0cbffbfabb1 (diff) | |
download | nextcloud-server-3507964820564f384b1c05c05aa4cf95c9a224c7.tar.gz nextcloud-server-3507964820564f384b1c05c05aa4cf95c9a224c7.zip |
Fixed quota wrapper to return the value from flock()
Diffstat (limited to 'lib/private/files/stream')
-rw-r--r-- | lib/private/files/stream/quota.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/stream/quota.php b/lib/private/files/stream/quota.php index 60e60da8e67..bb4623b1a7b 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() { |