Rewrote 'we' word a little, rewrote mail order to use SQL_INSERTID() instead of anoth...
[mailer.git] / inc / libs / beg_functions.php
index 120333bf97b708e21424fa031f9b0ebe9c11ad94..149a96b5f4b940f3dd0fd05aafb983c65b990231 100644 (file)
@@ -94,7 +94,7 @@ function doTemplateOutputBegPoints ($templateName, $clear = false) {
 
 // "Getter" for beg_new_member_notify
 function getBegNewMemberNotify () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Get it
                $GLOBALS[__FUNCTION__] = getConfig('beg_new_member_notify');
@@ -106,7 +106,7 @@ function getBegNewMemberNotify () {
 
 // Checks whether beg_new_member_notify is enabled
 function isBegNewMemberNotifyEnabled () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = ((isExtensionInstalledAndNewer('beg', '0.2.7')) && (getBegNewMemberNotify() == 'Y'));
@@ -118,7 +118,7 @@ function isBegNewMemberNotifyEnabled () {
 
 // "Getter" for beg_userid
 function getBegUserid () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Get it
                $GLOBALS[__FUNCTION__] = getConfig('beg_userid');
@@ -130,7 +130,7 @@ function getBegUserid () {
 
 // "Getter" for beg_timeout
 function getBegTimeout () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('beg_timeout');
@@ -142,7 +142,7 @@ function getBegTimeout () {
 
 // "Getter" for beg_userid_timeout
 function getBegUseridTimeout () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('beg_userid_timeout');
@@ -154,7 +154,7 @@ function getBegUseridTimeout () {
 
 // "Getter" for beg_ip_timeout
 function getBegIpTimeout () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('beg_ip_timeout');
@@ -166,7 +166,7 @@ function getBegIpTimeout () {
 
 // "Getter" for beg_ranks
 function getBegRanks () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('beg_ranks');
@@ -178,7 +178,7 @@ function getBegRanks () {
 
 // "Getter" for beg_points_max
 function getBegPointsMax () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('beg_points_max');
@@ -190,7 +190,7 @@ function getBegPointsMax () {
 
 // "Getter" for beg_points
 function getBegPoints () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('beg_points');
@@ -202,7 +202,7 @@ function getBegPoints () {
 
 // "Getter" for beg_notify_bonus
 function getBegNotifyBonus () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('beg_notify_bonus');
@@ -214,7 +214,7 @@ function getBegNotifyBonus () {
 
 // "Getter" for beg_notify_wait
 function getBegNotifyWait () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('beg_notify_wait');
@@ -226,7 +226,7 @@ function getBegNotifyWait () {
 
 // "Getter" for beg_pay_mode
 function getBegPayMode () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('beg_pay_mode');
@@ -238,7 +238,7 @@ function getBegPayMode () {
 
 // "Getter" for beg_include_own
 function getBegIncludeOwn () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('beg_include_own');
@@ -250,7 +250,7 @@ function getBegIncludeOwn () {
 
 // Checks whether beg_include_own is "Y"
 function isBegIncludeOwnEnabled () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = (getBegIncludeOwn() == 'Y');
@@ -262,7 +262,7 @@ function isBegIncludeOwnEnabled () {
 
 // "Getter" for beg_active
 function getBegActive () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('beg_active');
@@ -274,7 +274,7 @@ function getBegActive () {
 
 // Checks whether beg_active is "Y"
 function isBegActiveEnabled () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = (getBegActive() == 'Y');
@@ -286,7 +286,7 @@ function isBegActiveEnabled () {
 
 // "Getter" for beg_rallye
 function getBegRallye () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('beg_rallye');
@@ -298,7 +298,7 @@ function getBegRallye () {
 
 // Checks whether beg_rallye is "Y"
 function isBegRallyeEnabled () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = (getBegRallye() == 'Y');
@@ -310,7 +310,7 @@ function isBegRallyeEnabled () {
 
 // "Getter" for beg_rallye_enable_notify
 function getBegRallyeEnableNotify () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('beg_rallye_enable_notify');
@@ -322,7 +322,7 @@ function getBegRallyeEnableNotify () {
 
 // Checks whether beg_rallye_enable_notify is "Y"
 function isBegRallyeEnableNotifyEnabled () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = (getBegRallyeEnableNotify() == 'Y');
@@ -334,7 +334,7 @@ function isBegRallyeEnableNotifyEnabled () {
 
 // "Getter" for beg_rallye_disable_notify
 function getBegRallyeDisableNotify () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('beg_rallye_disable_notify');
@@ -346,7 +346,7 @@ function getBegRallyeDisableNotify () {
 
 // Checks whether beg_rallye_disable_notify is "Y"
 function isBegRallyeDisableNotifyEnabled () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = (getBegRallyeDisableNotify() == 'Y');