summaryrefslogtreecommitdiffstats
path: root/lib/private/util.php
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-06-05 10:54:24 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2014-06-05 10:54:24 +0200
commitf1bf06f8cfdcedf83c781ca704a1573dab07dabc (patch)
tree93f5285e65919807f8c98ea2e3b229be9d2c2ef0 /lib/private/util.php
parent1c20c72efedfb78cdb770070236438cb33d984a8 (diff)
parentec7225da66c6b9c5e231d93f26a9a39a4e049c91 (diff)
downloadnextcloud-server-f1bf06f8cfdcedf83c781ca704a1573dab07dabc.tar.gz
nextcloud-server-f1bf06f8cfdcedf83c781ca704a1573dab07dabc.zip
Merge pull request #8884 from owncloud/move-flock-to-app
remove file locking - code will continue to live in it's own app
Diffstat (limited to 'lib/private/util.php')
-rwxr-xr-xlib/private/util.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/private/util.php b/lib/private/util.php
index 905f8d72cf4..0daef78ce7f 100755
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -71,16 +71,6 @@ class OC_Util {
return $storage;
});
- // Set up flock
- \OC\Files\Filesystem::addStorageWrapper('oc_flock', function($mountPoint, /** @var \OC\Files\Storage\Storage|null $storage */ $storage){
- // lock files on all local storage
- if ($storage instanceof \OC\Files\Storage\Storage && $storage->isLocal()) {
- return new \OC\Files\Storage\Wrapper\LockingWrapper(array('storage' => $storage));
- } else {
- return $storage;
- }
- });
-
$userDir = '/'.$user.'/files';
$userRoot = OC_User::getHome($user);
$userDirectory = $userRoot . '/files';