45 $query =
"REPLACE INTO il_news_subscription (ref_id, user_id) VALUES (".
46 $ilDB->quote($a_ref_id).
", ".
47 $ilDB->quote($a_user_id).
")";
61 $query =
"DELETE FROM il_news_subscription WHERE ref_id = ".
62 $ilDB->quote($a_ref_id).
" AND user_id = ".
63 $ilDB->quote($a_user_id);
78 $query =
"SELECT * FROM il_news_subscription WHERE ref_id = ".
79 $ilDB->quote($a_ref_id).
" AND user_id = ".
80 $ilDB->quote($a_user_id);
81 $set = $ilDB->query($query);
103 $query =
"SELECT * FROM il_news_subscription WHERE user_id = ".
104 $ilDB->quote($a_user_id);
105 $set = $ilDB->query($query);
109 $ref_ids[] = $rec[
"ref_id"];