From: Roland Häder Date: Sun, 21 Oct 2012 19:04:18 +0000 (+0000) Subject: Missing wrapper added X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1801c519f443071a739f0f852e42e0337987fe1e;p=mailer.git Missing wrapper added --- 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 //------------------------------------------------------------------------------