4 include_once
'Services/Mail/classes/class.ilMailNotification.php';
19 $ilDB->manipulateF(
"INSERT INTO " . self::TABLE_NAME .
" (usr_id, ts) VALUES (%s, %s)",
33 include_once
'Services/User/classes/class.ilCronDeleteInactiveUserReminderMailNotification.php';
35 $mail->setRecipients(array($user));
36 $mail->setAdditionalInformation(
39 "days" => $reminderTime,
40 "date" => $time_frame_for_deletion
61 $lastReminderSent = (int)
$row->ts;
62 if($lastLoginUnixtime >= $lastReminderSent)
72 $query =
"SELECT ts FROM " . self::TABLE_NAME .
" WHERE usr_id = %s";
86 $ilDB->manipulate(
"DELETE FROM " . self::TABLE_NAME);
92 $query =
"DELETE FROM " . self::TABLE_NAME .
" WHERE usr_id = %s";
93 $ilDB->manipulateF(
$query, array(
'integer'), array($usr_id));