} // END - if
// Pay back points
+ initReferalSystem();
addPointsThroughReferalSystem('mail_deleted', $content['sender'], $totalPoints);
// Output message
$count += SQL_AFFECTEDROWS();
// Prepare data for the template
- $content['timestamp'] = generateDateTime($content['timestamp'], 0);
- $content['cnt'] = $count;
+ $content['timestamp'] = generateDateTime($content['timestamp'], '0');
+ $content['count'] = $count;
// Load template
loadTemplate('admin_delete_email_bonus', false, $content);
$count += SQL_AFFECTEDROWS();
// Prepare data for the template
- $content['timestamp'] = generateDateTime($content['timestamp'], 0);
- $content['cnt'] = $count;
+ $content['timestamp'] = generateDateTime($content['timestamp'], '0');
+ $content['count'] = $count;
// Load template
loadTemplate('admin_delete_email_notify', false, $content);