]> git.mxchange.org Git - mailer.git/commitdiff
Missing wrapper for admin_menu_javascript added
authorRoland Häder <roland@mxchange.org>
Thu, 15 Sep 2011 15:35:28 +0000 (15:35 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 15 Sep 2011 15:35:28 +0000 (15:35 +0000)
inc/wrapper-functions.php

index 308f7439a6b589421729f0fabed41f4b50deb8f0..e3c2979da457b0cffcd3a9ee2b04c4c640671dee 100644 (file)
@@ -2431,6 +2431,18 @@ function isDisplayHomeInIndexEnabled () {
        return $GLOBALS[__FUNCTION__];
 }
 
        return $GLOBALS[__FUNCTION__];
 }
 
+// Getter for 'admin_menu_javascript'
+function getAdminMenuJavascript () {
+       // Is the cache entry set?
+       if (!isset($GLOBALS[__FUNCTION__])) {
+               // No, so determine it
+               $GLOBALS[__FUNCTION__] = getConfig('admin_menu_javascript');
+       } // END - if
+
+       // Return cached entry
+       return $GLOBALS[__FUNCTION__];
+}
+
 // Checks wether proxy configuration is used
 function isProxyUsed () {
        // Do we have cache?
 // Checks wether proxy configuration is used
 function isProxyUsed () {
        // Do we have cache?