diff options
author | Joas Schilling <coding@schilljs.com> | 2020-12-07 16:36:49 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-12-07 20:35:54 +0100 |
commit | 354c5ff024570bad20ff2315372d4e78a5d1394c (patch) | |
tree | cf2c2e994278223d21657107e283a245ce3bf06c /lib/private/Repair.php | |
parent | d0750df20c3ca69ad250731b8c1e6db1c647c43d (diff) | |
download | nextcloud-server-354c5ff024570bad20ff2315372d4e78a5d1394c.tar.gz nextcloud-server-354c5ff024570bad20ff2315372d4e78a5d1394c.zip |
Add a repairstep to validate the phone numbers
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Repair.php')
-rw-r--r-- | lib/private/Repair.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/Repair.php b/lib/private/Repair.php index ec748355567..847a41aeb25 100644 --- a/lib/private/Repair.php +++ b/lib/private/Repair.php @@ -53,6 +53,7 @@ use OC\Repair\NC20\EncryptionLegacyCipher; use OC\Repair\NC20\EncryptionMigration; use OC\Repair\NC20\ShippedDashboardEnable; use OC\Repair\NC21\AddCheckForUserCertificatesJob; +use OC\Repair\NC21\ValidatePhoneNumber; use OC\Repair\OldGroupMembershipShares; use OC\Repair\Owncloud\DropAccountTermsTable; use OC\Repair\Owncloud\SaveAccountsTableData; @@ -177,7 +178,8 @@ class Repair implements IOutput { */ public static function getExpensiveRepairSteps() { return [ - new OldGroupMembershipShares(\OC::$server->getDatabaseConnection(), \OC::$server->getGroupManager()) + new OldGroupMembershipShares(\OC::$server->getDatabaseConnection(), \OC::$server->getGroupManager()), + \OC::$server->get(ValidatePhoneNumber::class), ]; } |