3 declare(strict_types=1);
29 protected \ilDBInterface
$db;
36 $this->db = (
$db) ?: $DIC->database();
42 $this->db->manipulate(
"DELETE FROM svy_quest_skill " .
43 " WHERE base_skill_id = " . $this->db->quote($skill_node_id,
"integer"));
44 $this->db->manipulate(
"DELETE FROM svy_skill_threshold " .
45 " WHERE base_skill_id = " . $this->db->quote($skill_node_id,
"integer"));
47 $this->db->manipulate(
"DELETE FROM svy_quest_skill " .
48 " WHERE tref_id = " . $this->db->quote($skill_node_id,
"integer"));
49 $this->db->manipulate(
"DELETE FROM svy_skill_threshold " .
50 " WHERE tref_id = " . $this->db->quote($skill_node_id,
"integer"));
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(\ilDBInterface $db=null)
removeForSkill(int $skill_node_id, bool $is_reference)