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.
- Loading branch information
Showing
5 changed files
with
21 additions
and
26 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
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,9 +1,5 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use ILIAS\Test\Skills; | ||
|
||
/** | ||
* This file is part of ILIAS, a powerful learning management system | ||
* published by ILIAS open source e-Learning e.V. | ||
|
@@ -18,8 +14,11 @@ | |
* https://www.ilias.de | ||
* https://github.com/ILIAS-eLearning | ||
* | ||
******************************************************************** | ||
*/ | ||
*********************************************************************/ | ||
|
||
declare(strict_types=1); | ||
|
||
use ILIAS\Test\Skills\TestSkillDBRepository; | ||
|
||
/** | ||
* @author Thomas Famula <[email protected]> | ||
|
@@ -31,7 +30,7 @@ class ilTestAppEventListener implements ilAppEventListener | |
*/ | ||
public static function handleEvent(string $a_component, string $a_event, array $a_parameter): void | ||
{ | ||
$test_skill_repo = new Skills\TestSkillDBRepository(); | ||
$test_skill_repo = new TestSkillDBRepository(); | ||
|
||
if ($a_component === "Services/Skill" && $a_event === "deleteSkill") { | ||
$test_skill_repo->removeForSkill($a_parameter["node_id"], $a_parameter["is_reference"]); | ||
|
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
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,9 +1,5 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use ILIAS\TestQuestionPool\Skills; | ||
|
||
/** | ||
* This file is part of ILIAS, a powerful learning management system | ||
* published by ILIAS open source e-Learning e.V. | ||
|
@@ -18,8 +14,11 @@ | |
* https://www.ilias.de | ||
* https://github.com/ILIAS-eLearning | ||
* | ||
******************************************************************** | ||
*/ | ||
*********************************************************************/ | ||
|
||
declare(strict_types=1); | ||
|
||
use ILIAS\TestQuestionPool\Skills\TestQuestionPoolSkillDBRepository; | ||
|
||
/** | ||
* @author Thomas Famula <[email protected]> | ||
|
@@ -31,7 +30,7 @@ class ilTestQuestionPoolAppEventListener implements ilAppEventListener | |
*/ | ||
public static function handleEvent(string $a_component, string $a_event, array $a_parameter): void | ||
{ | ||
$qpl_skill_repo = new Skills\TestQuestionPoolSkillDBRepository(); | ||
$qpl_skill_repo = new TestQuestionPoolSkillDBRepository(); | ||
|
||
if ($a_component === "Services/Skill" && $a_event === "deleteSkill") { | ||
$qpl_skill_repo->removeForSkill($a_parameter["node_id"], $a_parameter["is_reference"]); | ||
|
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