]> git.mxchange.org Git - mailer.git/blobdiff - inc/purge/purge-inact.php
Mailer project continued (heavy refactoring):
[mailer.git] / inc / purge / purge-inact.php
index 5cf054fc1053aae204348ceddd63fe6f4ee3029d..da6b87a34e22b451430c3cef7defe743b38c1857 100644 (file)
@@ -111,10 +111,10 @@ ORDER BY
                } // END - while
 
                // Remove last comma
-               $useridsContent = implode(chr(10), $userids);
+               $content['userids'] = implode(PHP_EOL, $userids);
 
                // Send mail notification to admin
-               sendAdminNotification('{--ADMIN_AUTOPURGE_INACTIVE_SUBJECT--}', 'admin_autopurge_inactive', $useridsContent);
+               sendAdminNotification('{--ADMIN_AUTOPURGE_INACTIVE_SUBJECT--}', 'admin_autopurge_inactive', $content);
        } // END - if
 
        // Free memory
@@ -156,7 +156,7 @@ ORDER BY
                } // END - while
 
                // Display all userids
-               $useridsContent = implode(chr(10), $userids);
+               $useridsContent = implode(PHP_EOL, $userids);
 
                // Send mail notification to admin
                if (getConfig('ap_in_notify') == 'Y') {