From e2da324adac1eee66b742bcbb4e3a7f051221ee4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 15 Sep 2011 15:35:28 +0000 Subject: [PATCH] Missing wrapper for admin_menu_javascript added --- inc/wrapper-functions.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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? -- 2.30.2