diff options
author | Côme Chilliet <91878298+come-nc@users.noreply.github.com> | 2022-04-11 16:57:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-11 16:57:35 +0200 |
commit | 2c0471176c6c562d43b7c871fba466574da3e630 (patch) | |
tree | 3bc8b1ba977ab718fae204040eb0618b6be57aa3 /apps/files_trashbin | |
parent | 682468ef5cda2d3aefed9cd5db80021da22bb593 (diff) | |
parent | eed6330b92cc83541206a0c29980245ebbf3375a (diff) | |
download | nextcloud-server-2c0471176c6c562d43b7c871fba466574da3e630.tar.gz nextcloud-server-2c0471176c6c562d43b7c871fba466574da3e630.zip |
Merge pull request #31925 from nextcloud/fix/user_migration-use-id-for-migrators
Use Migrators id instead of class names
Diffstat (limited to 'apps/files_trashbin')
-rw-r--r-- | apps/files_trashbin/lib/UserMigration/TrashbinMigrator.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/lib/UserMigration/TrashbinMigrator.php b/apps/files_trashbin/lib/UserMigration/TrashbinMigrator.php index c7832ec5bc8..95ed25088b1 100644 --- a/apps/files_trashbin/lib/UserMigration/TrashbinMigrator.php +++ b/apps/files_trashbin/lib/UserMigration/TrashbinMigrator.php @@ -93,7 +93,7 @@ class TrashbinMigrator implements IMigrator { * {@inheritDoc} */ public function import(IUser $user, IImportSource $importSource, OutputInterface $output): void { - if ($importSource->getMigratorVersion(static::class) === null) { + if ($importSource->getMigratorVersion($this->getId()) === null) { $output->writeln('No version for ' . static::class . ', skipping import…'); return; } |