Fixes for installation phase, old lost call of FILTER_COMPILE_CONFIG() removed
[mailer.git] / inc / stats-functions.php
index e38e6114b7414ca749adc51428de4cfe25cea69c..931e40b22b27c6e0d6f4db05d26964c6751822aa 100644 (file)
@@ -173,7 +173,7 @@ function writeStatsTable () {
 // Filter for flushing statistics
 function FILTER_FLUSH_STATS () {
        // Now do we have stats?
-       if ((isset($GLOBALS['stats'])) && (getConfig('STATS_ENABLED') == 'Y')) {
+       if ((isset($GLOBALS['stats'])) && (!isInstallationPhase()) && (getConfig('STATS_ENABLED') == 'Y')) {
                // Write statistics to temporary table
                writeStatsTable();
        } // END - if