]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/task_functions.php
Fixes for 'empty version'
[mailer.git] / inc / libs / task_functions.php
index 08adc665b24d79c53a4d282c33992a0e47f80d82..f59554b1e374fb9dbf67c0b850dc2802586850b2 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 08/03/2004 *
+ * Mailer v0.2.1-FINAL                                Start: 08/03/2004 *
  * ================                             Last change: 11/19/2005 *
  *                                                                      *
  * -------------------------------------------------------------------- *
@@ -268,7 +268,7 @@ ORDER BY
                $TITLEs[] = getMessage('ADMIN_TASK_INACTIVE_AUTOPURGE_TITLE');
        }
 
-       if (getExtensionVersion('sql_patches') >= '0.3.4') {
+       if (isExtensionInstalledAndNewer('sql_patches', '0.3.4')) {
                // Check for accounts without referal
                addSql("SELECT `userid` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE `refid`=0 ORDER BY `userid` ASC");
                $DESCRs[] = getMessage('ADMIN_TASK_LIST_ACCOUNT_NOREF');