]> git.mxchange.org Git - mailer.git/blobdiff - inc/loader/load_cache-modules.php
Yet-another renaming-mistake :(
[mailer.git] / inc / loader / load_cache-modules.php
index f0f48d8326f287e9dd43f5d0977ac4ee9ed62aa4..cdace7bce7b4b6ad00e96f0cd5624db440de152b 100644 (file)
@@ -65,7 +65,7 @@ if (($GLOBALS['cache_instance']->loadCacheFile('modules')) && ($GLOBALS['cache_i
                $entries = array('id','title','locked','hidden','admin_only','mem_only');
 
                // Is ext-sql_patches newer or equal 0.3.6?
-               if ((isExtensionInstalled('sql_patches')) && (getExtensionVersion('sql_patches') >= '0.3.6')) {
+               if (isExtensionInstalledAndNewer('sql_patches', '0.3.6')) {
                        // Add 'has_menu'
                        $entries[] = 'has_menu';
                } // END - if