Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update method name
Signed-off-by: Christopher Ng <[email protected]>
  • Loading branch information
Pytal authored and backportbot-nextcloud[bot] committed Jun 10, 2022
commit c1ec63b3a77d2228bb56ae552db858dfd06d8893
2 changes: 1 addition & 1 deletion lib/Migrator/FilesMigrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function __construct(
/**
* {@inheritDoc}
*/
public function getExportEstimatedSize(IUser $user): int {
public function getEstimatedExportSize(IUser $user): int {
$uid = $user->getUID();

$userFolder = $this->root->getUserFolder($uid);
Expand Down
2 changes: 1 addition & 1 deletion lib/Service/UserMigrationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function estimateExportSize(IUser $user, ?array $filteredMigratorList = n
continue;
}
// TODO Cache this (so that user can check/uncheck migrators to see the difference in export size)
$size += $migrator->getExportEstimatedSize($user);
$size += $migrator->getEstimatedExportSize($user);
}

return $size;
Expand Down