$totalPoints = $links * $price;
// Shall we pay the points back to the user?
- if ($_CONFIG['repay_deleted_mails'] != 'SHRED') {
+ if (getConfig('repay_deleted_mails') != "SHRED") {
//* DEBUG: */ echo $stats_id.":".$totalPoints."/".$links."/".$price."<br />\n";
if ($totalPoints > 0) {
// Shall we payback to user or jackpot?
- if ($_CONFIG['repay_deleted_mails'] == "JACKPOT") {
+ if (getConfig('repay_deleted_mails') == "JACKPOT") {
// Set jackpot
$sender = 0;
} // END - if
ADD_POINTS_REFSYSTEM("mail_deleted", $sender, $totalPoints, true, "0", false,"direct");
// Output message
- if ($_CONFIG['repay_deleted_mails'] == 'REPAY') {
+ if (getConfig('repay_deleted_mails') == "REPAY") {
// Repayed
LOAD_TEMPLATE("admin_settings_saved", false, sprintf(ADMIN_POINTS_REPAYED,
TRANSLATE_COMMA($totalPoints)