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
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/UserMigration/TMigratorBasicVersionHandling.php')
-rw-r--r--lib/public/UserMigration/TMigratorBasicVersionHandling.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/UserMigration/TMigratorBasicVersionHandling.php b/lib/public/UserMigration/TMigratorBasicVersionHandling.php
index 20a30a24307..9010d14a173 100644
--- a/lib/public/UserMigration/TMigratorBasicVersionHandling.php
+++ b/lib/public/UserMigration/TMigratorBasicVersionHandling.php
@@ -50,7 +50,7 @@ trait TMigratorBasicVersionHandling {
public function canImport(
IImportSource $importSource
): bool {
- $version = $importSource->getMigratorVersion(static::class);
+ $version = $importSource->getMigratorVersion($this->getId());
if ($version === null) {
return !$this->mandatory;
}