X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Factive_functions.php;h=568fc1bdbe02b9be8667e31fc3e55bccff766db1;hb=ab5ff5126ef56b08f5130a9e110b53c00d0a2761;hp=d35364216f005ee3517c148ac69f50cf11970256;hpb=3375ab36b02f87009fe814b5b55d5c4da06f8f30;p=mailer.git diff --git a/inc/libs/active_functions.php b/inc/libs/active_functions.php index d35364216f..568fc1bdbe 100644 --- a/inc/libs/active_functions.php +++ b/inc/libs/active_functions.php @@ -1,7 +1,7 @@ "".getConfig('menu_blur_spacer').GUEST_ACTIVE_LINK."", - 'what' => "active" - ); - - // Add link to "we were active today" page - LOAD_TEMPLATE("guest_menu_bottom", false, $content); +// Wrapper function for 'active_limit' +function getActiveLimit () { + // Is there cache? + if (!isset($GLOBALS[__FUNCTION__])) { + // Get config entry + $GLOBALS[__FUNCTION__] = getConfig('active_limit'); } // END - if + + // Return cache + return $GLOBALS[__FUNCTION__]; } -// +// [EOF] ?>