// Get deleted rows
$deletedTasks = SQL_AFFECTEDROWS();
- // Do we need to send a notification?
+ // Send out a notification?
if (($deletedTasks > 0) && (getConfig('ap_tasks_notify') == 'Y')) {
// Send out email to admin
sendAdminNotification('{--ADMIN_AUTOPURGE_TASKS_SUBJECT--}', 'admin_autopurge_tsks', $deletedTasks);