]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_autopurge.php
A lot code rewritten:
[mailer.git] / inc / modules / admin / what-list_autopurge.php
index 027187be6d2f156c6a2eed07fd4b04fd3ad2fa09..aa8f843ec6751adab0d864bfcd830b6a6bd8f0f8 100644 (file)
@@ -74,11 +74,10 @@ ORDER BY
 
 if (SQL_NUMROWS($result) > 0) {
        // Ok, we have found some inactive accounts
-       $OUT = ''; $SW = 2;
+       $OUT = '';
        while ($content = SQL_FETCHARRAY($result)) {
                // Prepare data for the row template
                $content = array(
-                       'sw'          => $SW,
                        'userid'      => $content['userid'],
                        'gender'      => $content['gender'],
                        'surname'     => $content['surname'],
@@ -91,8 +90,7 @@ if (SQL_NUMROWS($result) > 0) {
 
                // Load row template
                $OUT .= loadTemplate('admin_list_autopurge_row', true, $content);
-               $SW = 3 - $SW;
-       }
+       } // END - while
 
        // Free memory
        SQL_FREERESULT($result);