summaryrefslogtreecommitdiffstats
path: root/lib/private/files/stream
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-06-04 12:36:53 +0200
committerVincent Petry <pvince81@owncloud.com>2014-06-04 12:36:53 +0200
commit3507964820564f384b1c05c05aa4cf95c9a224c7 (patch)
tree9631b9d418312761e0b2bdaae2ca048d529adc2d /lib/private/files/stream
parent5adb8f0a8a94b955fd031f8d8226e0cbffbfabb1 (diff)
downloadnextcloud-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.php2
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() {