coding style

This commit is contained in:
Thomas Mueller 2013-06-14 13:54:41 +02:00
parent 471b9c055a
commit 5c7d7549ea
1 changed files with 4 additions and 1 deletions

View File

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