X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Ftask_functions.php;h=f59554b1e374fb9dbf67c0b850dc2802586850b2;hp=7179c326b604e689cae6943319984a3dbf743b14;hb=88b0ed0e2370bf171be38810aa0142a4899e2c7b;hpb=263a089d8a499e0e26d0af9e7aa7639f88b8ca60 diff --git a/inc/libs/task_functions.php b/inc/libs/task_functions.php index 7179c326b6..f59554b1e3 100644 --- a/inc/libs/task_functions.php +++ b/inc/libs/task_functions.php @@ -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');