27    private static function mailSent(
int $usr_id): void
 
   33            "INSERT INTO " . self::TABLE_NAME . 
" (usr_id, ts) VALUES (%s, %s)",
 
   48        int $time_frame_for_deletion
 
   52        $mail->setAdditionalInformation(
 
   55                 "days" => $reminderTime,
 
   56                 "date" => $time_frame_for_deletion
 
   68        $query = 
"SELECT usr_id,ts FROM " . self::TABLE_NAME;
 
   78            $lastReminderSent = (
int) $row->ts;
 
   79            if ($lastLoginUnixtime >= $lastReminderSent) {
 
   80                self::removeSingleUserFromTable($row->usr_id);
 
   88        int $time_frame_for_deletion
 
   93        $query = 
"SELECT ts FROM " . self::TABLE_NAME . 
" WHERE usr_id = %s";
 
   96        if ($row === 
false || $row->ts === 
null) {
 
   97            self::sendReminder($user, $reminderTime, $time_frame_for_deletion);
 
  108        $ilDB->manipulate(
"DELETE FROM " . self::TABLE_NAME);
 
  116        $query = 
"DELETE FROM " . self::TABLE_NAME . 
" WHERE usr_id = %s";
 
  117        $ilDB->manipulateF(
$query, array(
'integer'), array($usr_id));
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
static mailSent(int $usr_id)
 
static removeEntriesFromTableIfLastLoginIsNewer()
 
static sendReminder(ilObjUser $user, int $reminderTime, int $time_frame_for_deletion)
 
static sendReminderMailIfNeeded(ilObjUser $user, int $reminderTime, int $time_frame_for_deletion)
 
static removeSingleUserFromTable(int $usr_id)
 
setRecipients(array $a_rcp)
 
static _lookupLastLogin(int $a_user_id)
 
if(!file_exists(getcwd() . '/ilias.ini.php'))
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...