mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(OCC): Don't throw in the repair step for phone validation
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
e0251ea24e
commit
c8c4dd637f
1 changed files with 2 additions and 1 deletions
|
|
@ -55,7 +55,8 @@ class ValidatePhoneNumber implements IRepairStep {
|
|||
|
||||
public function run(IOutput $output): void {
|
||||
if ($this->config->getSystemValueString('default_phone_region', '') === '') {
|
||||
throw new \Exception('Can not validate phone numbers without `default_phone_region` being set in the config file');
|
||||
$output->warning('Can not validate phone numbers without `default_phone_region` being set in the config file');
|
||||
return;
|
||||
}
|
||||
|
||||
$numUpdated = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue