mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -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
51c2a51fed
commit
84e5d349ed
1 changed files with 2 additions and 1 deletions
|
|
@ -56,7 +56,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