From 1801c519f443071a739f0f852e42e0337987fe1e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= 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