4 include_once
'Services/Tracking/classes/class.ilLPStatus.php';
27 include_once
'./Services/Tracking/classes/class.ilChangeEvent.php';
42 $query =
"SELECT DISTINCT(usr_id) user_id FROM ut_lp_marks ".
43 "WHERE obj_id = ".$ilDB->quote($a_obj_id ,
'integer').
" ".
44 "AND completed = '1' ";
49 $usr_ids[] =
$row->user_id;
65 global $ilObjDataCache,
$ilDB;
68 switch ($ilObjDataCache->lookupType($a_obj_id))
73 include_once(
"./Services/Tracking/classes/class.ilChangeEvent.php");
79 $set = $ilDB->query($q =
"SELECT usr_id FROM ut_lp_marks ".
80 "WHERE obj_id = ".$ilDB->quote($a_obj_id ,
'integer').
" ".
81 "AND usr_id = ".$ilDB->quote($a_user_id ,
'integer').
" ".
82 "AND completed = '1' ");
83 if ($rec = $ilDB->fetchAssoc($set))