require($INC);
}
-if (($CONFIG['auto_purge_active'] == "Y") && ($CONFIG['auto_purge'] > 0))
+if (($CONFIG['auto_purge_active'] == 'Y') && ($CONFIG['auto_purge'] > 0))
{
// First calculate the timestamp
if (function_exists('CREATE_TIME_SELECTIONS'))
}
// Shall I look for inactive accounts and autopurge inactive accounts?
-if ($CONFIG['ap_inactive'] == "Y")
+if ($CONFIG['ap_inactive'] == 'Y')
{
// Ok, let's have a look...
$since = bigintval(time() - $CONFIG['ap_in_since']);
$UIDs = str_replace(", ", "\n", substr($UIDs, 0, -2));
// Send mail notification to admin
- if ($CONFIG['ap_un_mail'] == "Y")
+ if ($CONFIG['ap_un_mail'] == 'Y')
{
if (GET_EXT_VERSION("admins") >= "0.4.1")
{
}
// Shall I auto-purge unconfirmed accounts?
-if ($CONFIG['ap_unconfirmed'] == "Y")
+if ($CONFIG['ap_unconfirmed'] == 'Y')
{
// Init variables and find unconfirmed accounts which I shall auto-purge
$time = bigintval(time() - $CONFIG['ap_un_time']);
$UIDs = str_replace(", ", "\n", substr($UIDs, 0, -2));
// Send mail notification to admin
- if ($CONFIG['ap_un_mail'] == "Y")
+ if ($CONFIG['ap_un_mail'] == 'Y')
{
if (GET_EXT_VERSION("admins") >= "0.4.1")
{
}
// Check version (must be > 0.0)
-if ((GET_EXT_VERSION("task") > "0.0") && ($CONFIG['ap_tasks'] == "Y"))
+if ((GET_EXT_VERSION("task") > "0.0") && ($CONFIG['ap_tasks'] == 'Y'))
{
// Purge deleted tasks (no notification to admin)
$since = bigintval(time() - $CONFIG['ap_tasks_time']);
array($since), __FILE__, __LINE__);
$DELETED = SQL_AFFECTEDROWS();
- if (($DELETED > 0) && ($CONFIG['ap_tasks_mail'] == "Y"))
+ if (($DELETED > 0) && ($CONFIG['ap_tasks_mail'] == 'Y'))
{
// Send out email to admin
if (GET_EXT_VERSION("admins") >= "0.4.1")
SQL_FREERESULT($result_mails);
// Do we have deleted mails and the admin want's to receive a notification
- if (($DELETED > 0) && ($CONFIG['ap_dm_notify'] == "Y"))
+ if (($DELETED > 0) && ($CONFIG['ap_dm_notify'] == 'Y'))
{
// Send out email to admin
if (GET_EXT_VERSION("admins") >= "0.4.1")