]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions-functions.php
Additional fixes for XML handler and listing builder
[mailer.git] / inc / extensions-functions.php
index 2d399daf117a63d0dcb87dbb1f32948e9bfcfeb9..c5f03b20974538a99d5a601c028bbcbf7ebc0d53 100644 (file)
@@ -996,19 +996,6 @@ function doDeactivateExtension ($ext_name, $inRebuild = FALSE) {
        );
 }
 
-// Checks whether the extension is older than given
-function isExtensionOlder ($ext_name, $ext_ver) {
-       // Get current extension version
-       $currVersion = getExtensionVersion($ext_name);
-
-       // Remove all dots from both versions
-       $currVersion = str_replace('.', '', $currVersion);
-       $ext_ver = str_replace('.', '', $ext_ver);
-
-       // Now compare both and return the result
-       return ($currVersion < $ext_ver);
-}
-
 // Creates a new task for updated extension
 function createExtensionUpdateTask ($adminId, $ext_name, $ext_ver, $notes) {
        // Create subject line