version;
}
/**
* {@inheritDoc}
* @since 24.0.0
*/
public function canImport(
IImportSource $importSource,
): bool {
$version = $importSource->getMigratorVersion($this->getId());
if ($version === null) {
return !$this->mandatory;
}
return ($this->version >= $version);
}
}
-null-storage-merged
Nextcloud server, a safe home for all your data: https://github.com/nextcloud/server | www-data |
blob: 2e5875144695f79a9bbb49b1cfb91f8f405e7363 (
plain)