X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fautopurge%2Fpurge-mails.php;h=a592cc5a7d736c82e8c834fb445997ffeef2fc51;hp=389c9279dd3fe2f77a5a84bb134f6116818ece6c;hb=a090e351c49fe021fb3064325694da03402332e0;hpb=f212df3d9d1d3c7f8632040130be9e7160980de6 diff --git a/inc/autopurge/purge-mails.php b/inc/autopurge/purge-mails.php index 389c9279dd..a592cc5a7d 100644 --- a/inc/autopurge/purge-mails.php +++ b/inc/autopurge/purge-mails.php @@ -43,13 +43,13 @@ if (!defined('__SECURITY')) { } // END - if // Abort if autopurge is not active or disabled by admin -if ((!EXT_IS_ACTIVE("autopurge")) || (getConfig('auto_purge_active') != "Y")) { +if ((!EXT_IS_ACTIVE('autopurge')) || (getConfig('auto_purge_active') != "Y")) { // Abort here return false; } // END - if // Search for mails from deleted members? -if (getConfig('ap_del_mails') == "Y") { +if (getConfig('ap_del_mails') == 'Y') { // Okay, let's check for them... $since = getConfig(('ap_dm_timeout')); $result_mails = SQL_QUERY_ESC("SELECT sender @@ -122,9 +122,9 @@ ORDER BY sender ASC", SQL_FREERESULT($result_mails); // Do we have deleted mails and the admin want's to receive a notification - if (($DELETED > 0) && (getConfig('ap_dm_notify') == "Y")) { + if (($DELETED > 0) && (getConfig('ap_dm_notify') == 'Y')) { // Send out email to admin - SEND_ADMIN_NOTIFICATION(getMessage('AUTOPURGE_ADMIN_DEL_MAILS_SUBJECT'), "admin_autopurge_del_mails", $DELETED, ""); + SEND_ADMIN_NOTIFICATION(getMessage('AUTOPURGE_ADMIN_DEL_MAILS_SUBJECT'), "admin_autopurge_del_mails", $DELETED, ''); } // END - if }