]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/other_functions.php
A lot code rewritten:
[mailer.git] / inc / libs / other_functions.php
index 811ff5fa2788a6cf5d5329f6aefd09adf2084fda..ae30baba48187eb69b0910a9a37f734237b05339 100644 (file)
@@ -45,18 +45,17 @@ if (!defined('__SECURITY')) {
 // Displays all SQL queries with num rows, affected rows and timings
 function displayDebugSqls () {
        // Walk through all SQLs
-       $OUT = ''; $SW = 2; $i = 1;
+       $OUT = ''; $i = 1;
        foreach ($GLOBALS['debug_sqls'] as $content) {
                // Translate/add some data
-               $content['sw']       = $SW;
                $content['i']        = $i;
                $content['timing']   = translateComma($content['timing'] * 1000);
 
                // Load row template
                $OUT .= loadTemplate('admin_other_sqls_row', true, $content);
 
-               // Switch color
-               $SW = 3 - $SW; $i++;
+               // Count one up
+               $i++;
        } // END - foreach
 
        // Load main template