]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/optimize_functions.php
Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / libs / optimize_functions.php
index cc4f0ac0788f59db05946b98d2c2c130aa686232..07b24ef8ab17bb308bc83dcd0441d7686e38732b 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2015 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -58,7 +58,7 @@ function repairOptimizeDatabase () {
        $ret['tables'] = array();
 
        // Are there entries?
-       if (!ifSqlHasZeroNums($result)) {
+       if (!ifSqlHasZeroNumRows($result)) {
                // Fetch all rows
                while ($row = sqlFetchArray($result)) {
                        $tot_data = $row['Data_length'];