Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2022-04-29 04:45:47 +0300
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2022-05-31 03:19:13 +0300
commit72fc8c907e7c709d212537f84ab124b3c66d56f7 (patch)
tree5789203ca54a6ff357f73de045ca30c7aea68290 /apps
parent5a7752dcfaa0b360d6581019fc6f933b6a7589fa (diff)
Update method name
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps')
-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