summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-06-05 13:11:45 +0200
committerVincent Petry <pvince81@owncloud.com>2014-06-05 13:11:45 +0200
commitbbdcbb99117dda8ca63b48b72e86bfc7e6ff648d (patch)
tree947dca8000b1ee114b96b36dea5875c82aa9ae26
parente34b51124b9bb0a7fdc2a501c7922254f41029d6 (diff)
parent3507964820564f384b1c05c05aa4cf95c9a224c7 (diff)
downloadnextcloud-server-bbdcbb99117dda8ca63b48b72e86bfc7e6ff648d.tar.gz
nextcloud-server-bbdcbb99117dda8ca63b48b72e86bfc7e6ff648d.zip
Merge pull request #8866 from owncloud/flock-quotafix
Fixed quota wrapper to return the value from flock()
-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() {