From 432bc9a58523c7563d2939d179ef98203ce56f2b Mon Sep 17 00:00:00 2001 From: Christopher Ng Date: Fri, 29 Apr 2022 01:45:47 +0000 Subject: [PATCH] Update method name Signed-off-by: Christopher Ng --- apps/dav/lib/UserMigration/CalendarMigrator.php | 2 +- apps/dav/lib/UserMigration/ContactsMigrator.php | 2 +- apps/files_trashbin/lib/UserMigration/TrashbinMigrator.php | 2 +- apps/settings/lib/UserMigration/AccountMigrator.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/dav/lib/UserMigration/CalendarMigrator.php b/apps/dav/lib/UserMigration/CalendarMigrator.php index 2345acd43fd..5a296a2b527 100644 --- a/apps/dav/lib/UserMigration/CalendarMigrator.php +++ b/apps/dav/lib/UserMigration/CalendarMigrator.php @@ -210,7 +210,7 @@ class CalendarMigrator implements IMigrator, ISizeEstimationMigrator { /** * {@inheritDoc} */ - public function getExportEstimatedSize(IUser $user): int { + public function getEstimatedExportSize(IUser $user): int { $principalUri = $this->getPrincipalUri($user); return array_sum(array_map( diff --git a/apps/dav/lib/UserMigration/ContactsMigrator.php b/apps/dav/lib/UserMigration/ContactsMigrator.php index 5adf631f65e..fc498288810 100644 --- a/apps/dav/lib/UserMigration/ContactsMigrator.php +++ b/apps/dav/lib/UserMigration/ContactsMigrator.php @@ -197,7 +197,7 @@ class ContactsMigrator implements IMigrator, ISizeEstimationMigrator { /** * {@inheritDoc} */ - public function getExportEstimatedSize(IUser $user): int { + public function getEstimatedExportSize(IUser $user): int { $principalUri = $this->getPrincipalUri($user); return array_sum(array_map( diff --git a/apps/files_trashbin/lib/UserMigration/TrashbinMigrator.php b/apps/files_trashbin/lib/UserMigration/TrashbinMigrator.php index 658f5015b0e..9c0334aa2f3 100644 --- a/apps/files_trashbin/lib/UserMigration/TrashbinMigrator.php +++ b/apps/files_trashbin/lib/UserMigration/TrashbinMigrator.php @@ -67,7 +67,7 @@ class TrashbinMigrator implements IMigrator, ISizeEstimationMigrator { /** * {@inheritDoc} */ - public function getExportEstimatedSize(IUser $user): int { + public function getEstimatedExportSize(IUser $user): int { $uid = $user->getUID(); try { diff --git a/apps/settings/lib/UserMigration/AccountMigrator.php b/apps/settings/lib/UserMigration/AccountMigrator.php index 79955a59fde..321889788b8 100644 --- a/apps/settings/lib/UserMigration/AccountMigrator.php +++ b/apps/settings/lib/UserMigration/AccountMigrator.php @@ -72,7 +72,7 @@ class AccountMigrator implements IMigrator, ISizeEstimationMigrator { /** * {@inheritDoc} */ - public function getExportEstimatedSize(IUser $user): int { + public function getEstimatedExportSize(IUser $user): int { $uid = $user->getUID(); $size = 100; // 100KiB for account JSON -- 2.39.5