Browse Source

coding style

tags/v6.0.0alpha2
Thomas Mueller 11 years ago
parent
commit
5c7d7549ea
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      lib/connector/sabre/locks.php

+ 4
- 1
lib/connector/sabre/locks.php View File

$locks = $this->getLocks($uri, false); $locks = $this->getLocks($uri, false);
$exists = false; $exists = false;
foreach($locks as $lock) { foreach($locks as $lock) {
if ($lock->token == $lockInfo->token) $exists = true;
if ($lock->token == $lockInfo->token) {
$exists = true;
break;
}
} }


if ($exists) { if ($exists) {

Loading…
Cancel
Save