]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/bonus_functions.php
A lot more wrapper functions introduced, TODOs.txt updated
[mailer.git] / inc / libs / bonus_functions.php
index 2b75d7b96af98ebc4b87f4cb787eff85f68db5c9..968002a3cdbad4dec09dadc437adae0b0858c5dc 100644 (file)
@@ -363,5 +363,17 @@ function getBonusMode () {
        return $GLOBALS[__FUNCTION__];
 }
 
+// Getter for bonus_ranks
+function getBonusRanks () {
+       // Do we have cache?
+       if (!isset($GLOBALS[__FUNCTION__])) {
+               // Determine it
+               $GLOBALS[__FUNCTION__] = getConfig('bonus_ranks');
+       } // END - if
+
+       // Return cache
+       return $GLOBALS[__FUNCTION__];
+}
+
 // [EOF]
 ?>