You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -445,11 +438,11 @@ public function import(IUser $user, IImportSource $importSource, OutputInterface
445
438
thrownewCalendarMigratorException("Invalid calendar data contained in \"$importPath\"");
446
439
}
447
440
448
-
$splitFilename = explode('_', $filename, 2);
441
+
$splitFilename = explode('.', $filename, 2);
449
442
if (count($splitFilename) !== 2) {
450
-
thrownewCalendarMigratorException("Invalid filename \"$filename\", expected filename of the format \"<calendar_name>_YYYY-MM-DD" . CalendarMigrator::FILENAME_EXT . '"');
443
+
thrownewCalendarMigratorException("Invalid filename \"$filename\", expected filename of the format \"<calendar_name>" . CalendarMigrator::FILENAME_EXT . '"');
thrownewContactsMigratorException("Invalid filename \"$addressBookFilename\", expected filename of the format \"<address_book_name>_YYYY-MM-DD." . ContactsMigrator::FILENAME_EXT . '"');
345
+
thrownewContactsMigratorException("Invalid filename \"$addressBookFilename\", expected filename of the format \"<address_book_name>." . ContactsMigrator::FILENAME_EXT . '"');
0 commit comments