]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update method name
authorChristopher Ng <chrng8@gmail.com>
Fri, 29 Apr 2022 01:45:47 +0000 (01:45 +0000)
committerChristopher Ng <chrng8@gmail.com>
Mon, 30 May 2022 17:49:05 +0000 (17:49 +0000)
Signed-off-by: Christopher Ng <chrng8@gmail.com>
apps/dav/lib/UserMigration/CalendarMigrator.php
apps/dav/lib/UserMigration/ContactsMigrator.php
apps/files_trashbin/lib/UserMigration/TrashbinMigrator.php
apps/settings/lib/UserMigration/AccountMigrator.php

index 2345acd43fd4b3921ba66565c91f6c846e1ed10b..5a296a2b5270d541035e4479232b996db27c6522 100644 (file)
@@ -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(
index 5adf631f65e5acea8d36608d59a6ef44d5915e5c..fc49828881099806576714b84690673e4179ddb2 100644 (file)
@@ -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(
index 658f5015b0e377fefd4d52c7ba728915ef052e91..9c0334aa2f35bdaaf5299fb9d827700e65cec1ec 100644 (file)
@@ -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 {
index 79955a59fdeb41bcd13e903e997f8bc5fc29c37e..321889788b8b5cae308b892595ad55450c5fa045 100644 (file)
@@ -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