diff options
author | ringmaster <epithet@gmail.com> | 2014-05-27 16:12:07 -0400 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-06-04 07:55:45 +0200 |
commit | 392a1b666263283d3322f580d79097e47df292e6 (patch) | |
tree | 9ea415250e590b01df3019e3c4a93d5ca3b134f6 /lib/private | |
parent | 826b14e36bdf0b708194629da647ec61970e35b7 (diff) | |
download | nextcloud-server-392a1b666263283d3322f580d79097e47df292e6.tar.gz nextcloud-server-392a1b666263283d3322f580d79097e47df292e6.zip |
Removed unused vars/declarations, update PHPDoc.
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/files/storage/wrapper/lockingwrapper.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/files/storage/wrapper/lockingwrapper.php b/lib/private/files/storage/wrapper/lockingwrapper.php index 61710ed2de6..4f41c528253 100644 --- a/lib/private/files/storage/wrapper/lockingwrapper.php +++ b/lib/private/files/storage/wrapper/lockingwrapper.php @@ -10,7 +10,6 @@ namespace OC\Files\Storage\Wrapper; use OC\Files\Filesystem; -use OCP\Files\LockNotAcquiredException; use OCP\Files\Lock; /** @@ -46,6 +45,8 @@ class LockingWrapper extends Wrapper { /** * Release an existing lock * @param string $path Path to file, relative to this storage + * @param integer $lockType The type of lock to release + * @param bool $releaseAll If true, release all outstanding locks * @return bool true on success, false on failure */ protected function releaseLock($path, $lockType, $releaseAll = false){ |