Skip to content
Snippets Groups Projects
Commit 5c7d7549 authored by Thomas Müller's avatar Thomas Müller
Browse files

coding style

parent 471b9c05
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment