diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-07-21 00:20:04 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-07-21 00:20:27 +0200 |
commit | 8a19e134df09dd9a3e49736489f28ad0aee79803 (patch) | |
tree | b35b5983a8efff12dfeaea477f71cbfdeb0d12ac /lib | |
parent | 48ec78299ec1b8b3cb7878d469a10e982f83934d (diff) | |
download | nextcloud-server-8a19e134df09dd9a3e49736489f28ad0aee79803.tar.gz nextcloud-server-8a19e134df09dd9a3e49736489f28ad0aee79803.zip |
fix ununsed variables
Diffstat (limited to 'lib')
-rw-r--r-- | lib/connector/sabre/locks.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connector/sabre/locks.php b/lib/connector/sabre/locks.php index 94382e68a1a..e95dcf02d27 100644 --- a/lib/connector/sabre/locks.php +++ b/lib/connector/sabre/locks.php @@ -108,7 +108,7 @@ class OC_Connector_Sabre_Locks extends Sabre_DAV_Locks_Backend_Abstract { $locks = $this->getLocks($uri,false); $exists = false; - foreach($locks as $k=>$lock) { + foreach($locks as $lock) { if ($lock->token == $lockInfo->token) $exists = true; } |