]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/bonus_functions.php
Naming convention applied, wrapper functions may use __FUNCTION__ as first index
[mailer.git] / inc / libs / bonus_functions.php
index b1e577af0a63df4b89a4f7363474ec843856b299..0cba632fea12a6f5a6fea5a721e110d65e91f18c 100644 (file)
@@ -340,13 +340,13 @@ function isBonusNewMemberNotifyEnabled () {
 // Getter for bonus_timeout
 function getBonusTimeout () {
        // Do we have cache?
-       if (!isset($GLOBALS['bonus_timeout'])) {
+       if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
-               $GLOBALS['bonus_timeout'] = getConfig('bonus_timeout');
+               $GLOBALS[__FUNCTION__] = getConfig('bonus_timeout');
        } // END - if
 
        // Return cache
-       return $GLOBALS['bonus_timeout'];
+       return $GLOBALS[__FUNCTION__];
 }
 
 // [EOF]