forked from ILIAS-eLearning/ILIAS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ILIAS-eLearning#8770 from leifos-gmbh/10_mantis_il…
…ias_42781 Export: mantis ilias 42781
- Loading branch information
Showing
1 changed file
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
/** | ||
* This file is part of ILIAS, a powerful learning management system | ||
* published by ILIAS open source e-Learning e.V. | ||
|
@@ -18,6 +16,8 @@ | |
* | ||
*********************************************************************/ | ||
|
||
declare(strict_types=1); | ||
|
||
/** | ||
* Factory for importer/exporter implementers | ||
* @author Stefan Meyer <[email protected]> | ||
|
@@ -87,6 +87,10 @@ public static function getComponentForExport(string $a_type): string | |
*/ | ||
public static function getImporterClass(string $a_component): string | ||
{ | ||
# Compatibility with older exports | ||
# Object changed to ILIASObject with the component revision | ||
$a_component = "components/ILIAS/Object" ? "components/ILIAS/ILIASObject" : $a_component; | ||
|
||
/** | ||
* @var $objDefinition ilObjectDefinition | ||
*/ | ||
|