X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Factive_functions.php;h=5103339448060613dbfbff241ebddd53eb6b9fc3;hb=b01f073d391432e1d5bd81e198ef255934b746d8;hp=d35364216f005ee3517c148ac69f50cf11970256;hpb=3375ab36b02f87009fe814b5b55d5c4da06f8f30;p=mailer.git diff --git a/inc/libs/active_functions.php b/inc/libs/active_functions.php index d35364216f..5103339448 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] ?>