aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2022-04-29 01:45:47 +0000
committerChristopher Ng <chrng8@gmail.com>2022-05-30 17:49:05 +0000
commit432bc9a58523c7563d2939d179ef98203ce56f2b (patch)
tree06ecb52a4782585116e71f606897c9825a5db727
parentfa041dabf41ad15b67617ab1ae096921ffdcba82 (diff)
downloadnextcloud-server-432bc9a58523c7563d2939d179ef98203ce56f2b.tar.gz
nextcloud-server-432bc9a58523c7563d2939d179ef98203ce56f2b.zip
Update method name
Signed-off-by: Christopher Ng <chrng8@gmail.com>
-rw-r--r--apps/dav/lib/UserMigration/CalendarMigrator.php2
-rw-r--r--apps/dav/lib/UserMigration/ContactsMigrator.php2
-rw-r--r--apps/files_trashbin/lib/UserMigration/TrashbinMigrator.php2
-rw-r--r--apps/settings/lib/UserMigration/AccountMigrator.php2
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