From: Roland Häder Date: Thu, 15 Sep 2011 15:35:28 +0000 (+0000) Subject: Missing wrapper for admin_menu_javascript added X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=commitdiff_plain;h=e2da324adac1eee66b742bcbb4e3a7f051221ee4 Missing wrapper for admin_menu_javascript added --- diff --git a/inc/wrapper-functions.php b/inc/wrapper-functions.php index 308f7439a6..e3c2979da4 100644 --- a/inc/wrapper-functions.php +++ b/inc/wrapper-functions.php @@ -2431,6 +2431,18 @@ function isDisplayHomeInIndexEnabled () { 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?