From 3bfec15f1d037e1dd4885786103c70d0c1cfe1a8 Mon Sep 17 00:00:00 2001 From: quix0r Date: Sun, 21 Oct 2012 19:04:18 +0000 Subject: [PATCH] Missing wrapper added --- inc/libs/surfbar_functions.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/inc/libs/surfbar_functions.php b/inc/libs/surfbar_functions.php index e0911aee6d..51c881a7e6 100644 --- a/inc/libs/surfbar_functions.php +++ b/inc/libs/surfbar_functions.php @@ -1917,6 +1917,18 @@ function getSurfbarPaymentModel () { return $GLOBALS[__FUNCTION__]; } +// "Getter" for surfbar_stats_reload +function getSurfbarStatsReload () { + // Is there cache? + if (!isset($GLOBALS[__FUNCTION__])) { + // Determine it + $GLOBALS[__FUNCTION__] = getConfig('surfbar_stats_reload'); + } // END - if + + // Return cache + return $GLOBALS[__FUNCTION__]; +} + //------------------------------------------------------------------------------ // Template helper functions //------------------------------------------------------------------------------ -- 2.39.5