aboutsummaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-12-11 12:29:53 +0100
committerLukas Reschke <lukas@owncloud.com>2014-12-11 12:29:53 +0100
commit661dc789cec2504978b5c64b5a64410137054690 (patch)
tree22b9027a29307c9a75bc1c5559c188d71b4a5a7e /settings
parent5dc6406b7075a6f1db3ada7a9d0f5ddc93f58b18 (diff)
downloadnextcloud-server-661dc789cec2504978b5c64b5a64410137054690.tar.gz
nextcloud-server-661dc789cec2504978b5c64b5a64410137054690.zip
Break loop
Diffstat (limited to 'settings')
-rw-r--r--settings/controller/userscontroller.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/controller/userscontroller.php b/settings/controller/userscontroller.php
index 25fa5ca2ed6..dbd8118375a 100644
--- a/settings/controller/userscontroller.php
+++ b/settings/controller/userscontroller.php
@@ -122,6 +122,7 @@ class UsersController extends Controller {
foreach($activeBackends as $singleActiveBackend) {
if($backend === get_class($singleActiveBackend)) {
$this->userManager->registerBackend($singleActiveBackend);
+ break;
}
}
}