Add missing return argument when removing an auth backend fails

This commit is contained in:
Eric Lippmann 2015-05-27 10:46:20 +02:00
parent 5aa9738b55
commit d8097d4a16
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ class ConfigController extends Controller
$configForm->remove($authBackend); $configForm->remove($authBackend);
} catch (InvalidArgumentException $e) { } catch (InvalidArgumentException $e) {
Notification::error($e->getMessage()); Notification::error($e->getMessage());
return; return false;
} }
if ($configForm->save()) { if ($configForm->save()) {