4include_once 
'Services/Mail/classes/class.ilMailNotification.php';
 
   22            "INSERT INTO " . self::TABLE_NAME . 
" (usr_id, ts) VALUES (%s, %s)",
 
   36        include_once 
'Services/User/classes/class.ilCronDeleteInactiveUserReminderMailNotification.php';
 
   38        $mail->setRecipients(array($user));
 
   39        $mail->setAdditionalInformation(
 
   42                 "days" => $reminderTime,
 
   43                 "date" => $time_frame_for_deletion
 
   65            $lastReminderSent = (int) $row->ts;
 
   66            if ($lastLoginUnixtime >= $lastReminderSent) {
 
   77        $query = 
"SELECT ts FROM " . self::TABLE_NAME . 
" WHERE usr_id = %s";
 
   80        if ($row->ts == 
null) {
 
   92        $ilDB->manipulate(
"DELETE FROM " . self::TABLE_NAME);
 
  100        $query = 
"DELETE FROM " . self::TABLE_NAME . 
" WHERE usr_id = %s";
 
  101        $ilDB->manipulateF(
$query, array(
'integer'), array($usr_id));
 
An exception for terminatinating execution or to throw for unit testing.
static removeEntriesFromTableIfLastLoginIsNewer()
static checkIfReminderMailShouldBeSend(ilObjUser $user, $reminderTime, $time_frame_for_deletion)
static sendReminder(ilObjUser $user, $reminderTime, $time_frame_for_deletion)
static removeSingleUserFromTable($usr_id)
static _lookupLastLogin($a_user_id)
lookup last login
getId()
get object id @access public
if(!file_exists(getcwd() . '/ilias.ini.php'))
registration confirmation script for ilias
foreach($_POST as $key=> $value) $res