A lot code rewritten:
[mailer.git] / inc / modules / admin / what-del_transfer.php
index c48e0f3dc2713feeb19a0362a7433c4783fd25e7..0681df69ac15efbda2f6902a9ba601f456d9ec56 100644 (file)
@@ -75,10 +75,9 @@ ORDER BY
 $total = '0';
 if (SQL_NUMROWS($result) > 0) {
        // Output rows
-       $OUT = ''; $SW = 2;
+       $OUT = '';
        while ($content = SQL_FETCHARRAY($result)) {
                // Prepare data for the row template
-               $content['sw']         = $SW;
                $content['time_trans'] = generateDateTime($content['time_trans'], 3);
 
                // Load row template
@@ -86,7 +85,6 @@ if (SQL_NUMROWS($result) > 0) {
 
                // Sum points and switch colors
                $total += $content['points'];
-               $SW = 3 - $SW;
        } // END - while
 
        // Free memory