Browse Source

coding style

remotes/origin/stable6
Thomas Mueller 13 years ago
parent
commit
5c7d7549ea
  1. 5
      lib/connector/sabre/locks.php

5
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) {

Loading…
Cancel
Save