]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions-functions.php
Added ability to allow empty passwords, if the user does so, a random password will...
[mailer.git] / inc / extensions-functions.php
index 332a3d2324e8db138c49751ea49ba89b70735b93..fa35d12e2b4a9f40bc7299f99f502092a161ef7c 100644 (file)
@@ -1651,14 +1651,8 @@ function getExtensionHasCss () {
 
 // Checks wether the given extension has a language file
 function ifExtensionHasLanguageFile ($ext_name) {
-       // Default is no language file
-       $hasLanguage = false;
-
        // Do we have cache?
        if (isset($GLOBALS['cache_array']['extension']['ext_lang'][$ext_name])) {
-               // Then use it
-               $hasLanguage = ($GLOBALS['cache_array']['extension']['ext_lang'][$ext_name] == 'Y');
-
                // Count cache hits
                incrementStatsEntry('cache_hits');
        } else {