diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-06-14 13:54:41 +0200 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-06-14 13:54:41 +0200 |
commit | 5c7d7549ea8803596307882f2ee9214808c82451 (patch) | |
tree | 62724e32b8a3c1ac889d273bd359046007fff8cd /lib/connector/sabre | |
parent | 471b9c055a16b3f7b8100870e40fffe4d6b2d646 (diff) | |
download | nextcloud-server-5c7d7549ea8803596307882f2ee9214808c82451.tar.gz nextcloud-server-5c7d7549ea8803596307882f2ee9214808c82451.zip |
coding style
Diffstat (limited to 'lib/connector/sabre')
-rw-r--r-- | lib/connector/sabre/locks.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/connector/sabre/locks.php b/lib/connector/sabre/locks.php index 1364aae0103..cbc495dec19 100644 --- a/lib/connector/sabre/locks.php +++ b/lib/connector/sabre/locks.php @@ -126,7 +126,10 @@ class OC_Connector_Sabre_Locks extends Sabre_DAV_Locks_Backend_Abstract { $locks = $this->getLocks($uri, false); $exists = false; foreach($locks as $lock) { - if ($lock->token == $lockInfo->token) $exists = true; + if ($lock->token == $lockInfo->token) { + $exists = true; + break; + } } if ($exists) { |