]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/bonus_functions.php
New function introduced, fixes for extension installation:
[mailer.git] / inc / libs / bonus_functions.php
index cdd11a792da40483bd4781e4db835c5f18f666d1..3bed18ebe680f18f27a4c88b04a90d1a76062adc 100644 (file)
@@ -364,6 +364,18 @@ function getLoginTimeout () {
        return $GLOBALS[__FUNCTION__];
 }
 
+// Getter for login_bonus
+function getLoginBonus () {
+       // Is there cache?
+       if (!isset($GLOBALS[__FUNCTION__])) {
+               // Determine it
+               $GLOBALS[__FUNCTION__] = getConfig('login_bonus');
+       } // END - if
+
+       // Return cache
+       return $GLOBALS[__FUNCTION__];
+}
+
 // Getter for bonus_ref
 function getBonusRef () {
        // Is there cache?