◆ checkNotConfirmedUserAccounts()
ilUserCronCheckAccounts::checkNotConfirmedUserAccounts |
( |
| ) |
|
|
protected |
Definition at line 128 of file class.ilUserCronCheckAccounts.php.
References $ilDB, $ilLog, $query, $res, $row, array, date, ilObjectFactory\getInstanceByObjId(), and time.
Referenced by hasFlexibleSchedule().
132 require_once
'Services/Registration/classes/class.ilRegistrationSettings.php';
135 $query =
'SELECT usr_id FROM usr_data ' 136 .
'WHERE reg_hash IS NOT NULL ' 138 .
'AND create_date < %s';
139 $res = $ilDB->queryF(
141 array(
'integer',
'timestamp'),
142 array(0,
date(
'Y-m-d H:i:s',
time() - (
int) $oRegSettigs->getRegistrationHashLifetime()))
144 while (
$row = $ilDB->fetchAssoc(
$res)) {
147 $ilLog->write(
'Cron: Deleted ' . $oUser->getLogin() .
' [' . $oUser->getId() .
'] ' . __METHOD__);
foreach($_POST as $key=> $value) $res
date( 'd-M-Y', $objPHPExcel->getProperties() ->getCreated())
static getInstanceByObjId($a_obj_id, $stop_on_error=true)
get an instance of an Ilias object by object id
Create styles array
The data for the language used.
Add data(end) time
Method that wraps PHPs time in order to allow simulations with the workflow.
◆ getDefaultScheduleType()
ilUserCronCheckAccounts::getDefaultScheduleType |
( |
| ) |
|
◆ getDefaultScheduleValue()
ilUserCronCheckAccounts::getDefaultScheduleValue |
( |
| ) |
|
◆ getDescription()
ilUserCronCheckAccounts::getDescription |
( |
| ) |
|
◆ getId()
ilUserCronCheckAccounts::getId |
( |
| ) |
|
◆ getTitle()
ilUserCronCheckAccounts::getTitle |
( |
| ) |
|
◆ hasAutoActivation()
ilUserCronCheckAccounts::hasAutoActivation |
( |
| ) |
|
◆ hasFlexibleSchedule()
ilUserCronCheckAccounts::hasFlexibleSchedule |
( |
| ) |
|
Definition at line 52 of file class.ilUserCronCheckAccounts.php.
References $data, $GLOBALS, $ilDB, $ilLog, $lng, $query, $res, $result, $row, checkNotConfirmedUserAccounts(), ilCronJob\run(), ilCronJobResult\STATUS_NO_ACTION, ilCronJobResult\STATUS_OK, time, and txt().
◆ txt()
ilUserCronCheckAccounts::txt |
( |
|
$language, |
|
|
|
$key, |
|
|
|
$module = 'common' |
|
) |
| |
|
protected |
◆ $counter
ilUserCronCheckAccounts::$counter = 0 |
|
protected |
The documentation for this class was generated from the following file: