Browse Source

Update method name

Signed-off-by: Christopher Ng <chrng8@gmail.com>
pull/32206/head
Christopher Ng 4 years ago
parent
commit
432bc9a585
  1. 2
      apps/dav/lib/UserMigration/CalendarMigrator.php
  2. 2
      apps/dav/lib/UserMigration/ContactsMigrator.php
  3. 2
      apps/files_trashbin/lib/UserMigration/TrashbinMigrator.php
  4. 2
      apps/settings/lib/UserMigration/AccountMigrator.php

2
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(

2
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(

2
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 {

2
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

Loading…
Cancel
Save