X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Ffunctions.php;h=7b691f4bfe5e4686c0423e3512f2cfe9aa8e1e40;hp=8d4cc44e906a65030c6543570847e47885006dbe;hb=a49d1f4613f3f7d47fb57d946e9f7f705bd34a9b;hpb=dc48c8d18b395c1bf2147baadbecd056f843b818 diff --git a/inc/functions.php b/inc/functions.php index 8d4cc44e90..7b691f4bfe 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -2919,7 +2919,7 @@ function changeDataInFile ($FQFN, $comment, $prefix, $suffix, $DATA, $seek=0) { } // Send notification to admin function sendAdminNotification ($subject, $templateName, $content=array(), $userid = 0) { - if (getExtensionVersion('admins') >= '0.4.1') { + if (isExtensionInstalledAndNewer('admins', '0.4.1')) { // Send new way sendAdminsEmails($subject, $templateName, $content, $userid); } else {