summaryrefslogtreecommitdiffstats
path: root/apps/settings
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-05-24 10:01:14 +0200
committerCôme Chilliet (Rebase PR Action) <come-nc@users.noreply.github.com>2022-05-30 07:36:13 +0000
commit6da413f7af5e53ce6d02a0e86a07e81593f68644 (patch)
tree34d6694458563ffdcdc608c10bc8dde2ced99c31 /apps/settings
parent09917b85838d6cf8f075eadfac65a674be2c4316 (diff)
downloadnextcloud-server-6da413f7af5e53ce6d02a0e86a07e81593f68644.tar.gz
nextcloud-server-6da413f7af5e53ce6d02a0e86a07e81593f68644.zip
Move new IMigrator method to a specific interface ISizeEstimationMigrator
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/settings')
-rw-r--r--apps/settings/lib/UserMigration/AccountMigrator.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/settings/lib/UserMigration/AccountMigrator.php b/apps/settings/lib/UserMigration/AccountMigrator.php
index 733d4a0b75d..79955a59fde 100644
--- a/apps/settings/lib/UserMigration/AccountMigrator.php
+++ b/apps/settings/lib/UserMigration/AccountMigrator.php
@@ -37,11 +37,12 @@ use OCP\IUser;
use OCP\UserMigration\IExportDestination;
use OCP\UserMigration\IImportSource;
use OCP\UserMigration\IMigrator;
+use OCP\UserMigration\ISizeEstimationMigrator;
use OCP\UserMigration\TMigratorBasicVersionHandling;
use Symfony\Component\Console\Output\OutputInterface;
use Throwable;
-class AccountMigrator implements IMigrator {
+class AccountMigrator implements IMigrator, ISizeEstimationMigrator {
use TMigratorBasicVersionHandling;
use TAccountsHelper;