More complete rewrite to use wrapper function isExtensionInstalledAndNewer(), some...
[mailer.git] / inc / gen_sql_patches.php
index 91dd06ea859147f5a3eb3917b459aaa033b7ba31..594f984846496bf08434f164640750365653b5fc 100644 (file)
@@ -43,7 +43,7 @@ if (!defined('__SECURITY')) {
 }
 
 // Check for version of sql_patches
-if (getExtensionVersion('sql_patches') < '0.3.6') return false;
+if (isExtensionInstalledAndNewer('sql_patches', '0.3.6')) return false;
 
 // Check if there is no scrambling string
 if (getConfig('pass_scramble') == '') {
@@ -114,5 +114,5 @@ if (getConfig('file_hash') == '') {
        } // END - if
 } // END - if
 
-//
-?>
\ No newline at end of file
+// [EOF]
+?>