]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/bonus_functions.php
Rewrote 'we' word a little, rewrote mail order to use SQL_INSERTID() instead of anoth...
[mailer.git] / inc / libs / bonus_functions.php
index eb23d167477cc9bd603773e27e78be3068046294..48d29cd3bc70d3b0617d4e8f7b15999e56ecf414 100644 (file)
@@ -281,7 +281,7 @@ function purgeExpiredTurboBonus() {
 
 // Determines whether the "bonus rallye" is active
 function isBonusRallyeActive () {
 
 // Determines whether the "bonus rallye" is active
 function isBonusRallyeActive () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS['bonus_rallye_active'])) {
                // Just determine it
                $GLOBALS['bonus_rallye_active'] = (getConfig('bonus_active') == 'Y');
        if (!isset($GLOBALS['bonus_rallye_active'])) {
                // Just determine it
                $GLOBALS['bonus_rallye_active'] = (getConfig('bonus_active') == 'Y');
@@ -293,7 +293,7 @@ function isBonusRallyeActive () {
 
 // Determines whether the "bonus new_member_notify" is active
 function isBonusNewMemberNotifyEnabled () {
 
 // Determines whether the "bonus new_member_notify" is active
 function isBonusNewMemberNotifyEnabled () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS['bonus_new_member_notify_active'])) {
                // Just determine it
                $GLOBALS['bonus_new_member_notify_active'] = (getConfig('bonus_new_member_notify') == 'Y');
        if (!isset($GLOBALS['bonus_new_member_notify_active'])) {
                // Just determine it
                $GLOBALS['bonus_new_member_notify_active'] = (getConfig('bonus_new_member_notify') == 'Y');
@@ -305,7 +305,7 @@ function isBonusNewMemberNotifyEnabled () {
 
 // Getter for bonus_timeout
 function getBonusTimeout () {
 
 // Getter for bonus_timeout
 function getBonusTimeout () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('bonus_timeout');
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('bonus_timeout');
@@ -317,7 +317,7 @@ function getBonusTimeout () {
 
 // Getter for bonus_mode
 function getBonusMode () {
 
 // Getter for bonus_mode
 function getBonusMode () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('bonus_mode');
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('bonus_mode');
@@ -329,7 +329,7 @@ function getBonusMode () {
 
 // Getter for bonus_ranks
 function getBonusRanks () {
 
 // Getter for bonus_ranks
 function getBonusRanks () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('bonus_ranks');
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('bonus_ranks');
@@ -341,7 +341,7 @@ function getBonusRanks () {
 
 // Getter for turbo_rates
 function getTurboRates () {
 
 // Getter for turbo_rates
 function getTurboRates () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('turbo_rates');
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('turbo_rates');
@@ -353,7 +353,7 @@ function getTurboRates () {
 
 // Getter for login_timeout
 function getLoginTimeout () {
 
 // Getter for login_timeout
 function getLoginTimeout () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('login_timeout');
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('login_timeout');
@@ -365,7 +365,7 @@ function getLoginTimeout () {
 
 // Getter for bonus_ref
 function getBonusRef () {
 
 // Getter for bonus_ref
 function getBonusRef () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('bonus_ref');
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('bonus_ref');