global $_CONFIG;
// Shall we add bonus points?
- if ($_CONFIG['bonus_active'] == 'N') return;
+ if ($_CONFIG['bonus_active'] == "N") return;
// Select SQL command
$SQL = "";
global $_CONFIG;
// Shall we add bonus points?
- if ($_CONFIG['bonus_active'] == 'N') return;
+ if ($_CONFIG['bonus_active'] == "N") return;
// Switch to jackpot-mode when no UID is supplied but userid-mode is selected
if (($_CONFIG['bonus_mode'] == "UID") && ($_CONFIG['bonus_uid'] == "0")) $_CONFIG['bonus_mode'] = "JACKPOT";
else
{
// Try to subtract from jackpot
- $DUMMY = SUB_JACKPOT($points);
+ $dummy = SUB_JACKPOT($points);
}
break;
}
if ($DELETED > 0)
{
// Send out email to admin
- if (GET_EXT_VERSION("admins") >= "0.4.1")
- {
- SEND_ADMIN_EMAILS_PRO(AUTOPURGE_ADMIN_TURBO_SUBJECT, "admin_autopurge_turbo", $DELETED, "");
- }
- else
- {
- $msg = LOAD_EMAIL_TEMPLATE("admin_autopurge_turbo", $DELETED, "");
- SEND_ADMIN_EMAILS(AUTOPURGE_ADMIN_TURBO_SUBJECT, $msg);
- }
+ SEND_ADMIN_NOTIFICATION(AUTOPURGE_ADMIN_TURBO_SUBJECT, "admin_autopurge_turbo", $DELETED, "");
}
}
//