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/public/files | |
parent | 826b14e36bdf0b708194629da647ec61970e35b7 (diff) | |
download | nextcloud-server-392a1b666263283d3322f580d79097e47df292e6.tar.gz nextcloud-server-392a1b666263283d3322f580d79097e47df292e6.zip |
Removed unused vars/declarations, update PHPDoc.
Diffstat (limited to 'lib/public/files')
-rw-r--r-- | lib/public/files/lock.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/public/files/lock.php b/lib/public/files/lock.php index 499957bd803..196134724d3 100644 --- a/lib/public/files/lock.php +++ b/lib/public/files/lock.php @@ -140,10 +140,9 @@ class Lock { * Sets $this->lockFile to the specified lock file, indicating that the lock file is IN USE for this lock instance * Also sets $this->lockFileHandle to a file handle of the lock file * @param string $filename The name of the file to lock - * @param int $timeout Milliseconds to wait for a valid lock * @return bool False if lock can't be acquired, true if it can. */ - protected function lockLockFile ( $filename, $timeout = 0 ) { + protected function lockLockFile ( $filename ) { $lockFile = $this->getLockFile($filename); \OC_Log::write('lock', sprintf('INFO: Locking lock file %s for %s', $lockFile, $filename), \OC_Log::DEBUG); |