]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-optimize.php
Several more constants rewritten to getConfig()
[mailer.git] / inc / modules / admin / what-optimize.php
index 424f7acce5d06ad72ed5994688b819830a5af56c..bdcbe49127b4ed3f39f6c8aa270ac99a1aae125c 100644 (file)
@@ -59,7 +59,7 @@ foreach ($DATA['tables'] as $row_array)
        if (empty($row_array[1])) $row_array[1] = "NONE";
 
        // Get optimization status
-       $REP = constant('OPTIMIZE_STATUS_'.strtoupper($row_array[1]).'');
+       $REP = getMessage('OPTIMIZE_STATUS_'.strtoupper($row_array[1]).'');
 
        $OPT = OPTIMIZE_STATUS_UNSUPPORTED;
 
@@ -68,7 +68,7 @@ foreach ($DATA['tables'] as $row_array)
                $B1 = "<strong>"; $B2 = "<strong>";
                $gain_tabs++;
        } elseif (count(explode(" ", $row_array[2])) == 0) {
-               $OPT = constant('OPTIMIZE_STATUS_'.strtoupper($row_array[2]).'');
+               $OPT = getMessage('OPTIMIZE_STATUS_'.strtoupper($row_array[2]).'');
        }
 
        // Prepare data for the row template