Fix code style
This commit is contained in:
parent
d869f8212b
commit
3aad47c0f0
1 changed files with 8 additions and 1 deletions
|
@ -52,7 +52,11 @@ class RecoveryController extends Controller {
|
|||
* @param IL10N $l10n
|
||||
* @param Recovery $recovery
|
||||
*/
|
||||
public function __construct($AppName, IRequest $request, IConfig $config, IL10N $l10n, Recovery $recovery) {
|
||||
public function __construct($AppName,
|
||||
IRequest $request,
|
||||
IConfig $config,
|
||||
IL10N $l10n,
|
||||
Recovery $recovery) {
|
||||
parent::__construct($AppName, $request);
|
||||
$this->config = $config;
|
||||
$this->l = $l10n;
|
||||
|
@ -145,6 +149,9 @@ class RecoveryController extends Controller {
|
|||
|
||||
/**
|
||||
* @NoAdminRequired
|
||||
*
|
||||
* @param string $userEnableRecovery
|
||||
* @return DataResponse
|
||||
*/
|
||||
public function userSetRecovery($userEnableRecovery) {
|
||||
if ($userEnableRecovery === '0' || $userEnableRecovery === '1') {
|
||||
|
|
Loading…
Reference in a new issue