Skip to content

Commit

Permalink
Export: adds backwards compatibility to exports made bevore the compo…
Browse files Browse the repository at this point in the history
…nent revision
  • Loading branch information
chlulei committed Dec 20, 2024
1 parent 38e8d54 commit cbd8133
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit cbd8133

Please sign in to comment.