]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/overview-inc.php
Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / modules / admin / overview-inc.php
index e42defec891ae0beb0c347b09742845d312724b8..d356c2b79b165a7bbe702036782076ec06265518 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 *
@@ -121,7 +121,7 @@ ORDER BY
        `task_created` DESC",
                array(getCurrentAdminId()), __FILE__, __LINE__);
 
-       if (!ifSqlHasZeroNums($result_tasks)) {
+       if (!ifSqlHasZeroNumRows($result_tasks)) {
                // New jobs found
                $jobsDone = FALSE;
        } // END - if
@@ -221,7 +221,7 @@ LIMIT 1",
                                        // Is this non-productive?
                                        if (isExtensionProductive() === FALSE) {
                                                // Issue warning
-                                               $taskData['text'] = displayMessage('{%message,ADMIN_EXTENSION_IS_NON_PRODUCTIVE=' . $ext_name . '%}', TRUE) . $taskData['text'];
+                                               $taskData['text'] = returnMessage('{%message,ADMIN_EXTENSION_IS_NON_PRODUCTIVE=' . $ext_name . '%}') . $taskData['text'];
                                        } // END - if
 
                                        // Set current extension name