33 include_once
'./Services/Tracking/classes/class.ilLPStatus.php';
50 include_once
'./Modules/Test/classes/class.ilObjTestAccess.php';
52 $query =
"SELECT DISTINCT(user_fi) FROM tst_active ".
54 "AND test_fi = '".ilObjTestAccess::_getTestIDFromObjectID($a_obj_id).
"'";
56 $res = $ilDB->query($query);
59 $user_ids[] = $row->user_fi;
61 return $user_ids ? $user_ids : array();
69 include_once
'./Modules/Test/classes/class.ilObjTestAccess.php';
71 $query =
"SELECT DISTINCT(user_fi) FROM tst_active ".
73 "AND test_fi = '".ilObjTestAccess::_getTestIDFromObjectID($a_obj_id).
"'";
75 $res = $ilDB->query($query);
78 $user_ids[] = $row->user_fi;
80 return $user_ids ? $user_ids : array();