Rewrote 'we' word a little, rewrote mail order to use SQL_INSERTID() instead of anoth...
[mailer.git] / inc / libs / wernis_functions.php
index aed931703e5ed10de5c0d298c67548363ab9d038..7530ecd0cf354d0ba2479271a57685ff28fadef6 100644 (file)
@@ -400,7 +400,7 @@ function WERNIS_ADD_WITHDRAW_FEE ($points) {
 
 // Wrapper function for 'wernis_refid'
 function getWernisRefid () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Get config entry
                $GLOBALS[__FUNCTION__] = getConfig('wernis_refid');
@@ -412,7 +412,7 @@ function getWernisRefid () {
 
 // Wrapper function for 'wernis_pass_md5'
 function getWernisPassMd5 () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Get config entry
                $GLOBALS[__FUNCTION__] = getConfig('wernis_pass_md5');
@@ -424,7 +424,7 @@ function getWernisPassMd5 () {
 
 // Wrapper function for 'wernis_api_id'
 function getWernisApiId () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Get config entry
                $GLOBALS[__FUNCTION__] = getConfig('wernis_api_id');
@@ -436,7 +436,7 @@ function getWernisApiId () {
 
 // Wrapper function for 'wernis_api_md5'
 function getWernisApiMd5 () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Get config entry
                $GLOBALS[__FUNCTION__] = getConfig('wernis_api_md5');
@@ -448,7 +448,7 @@ function getWernisApiMd5 () {
 
 // Wrapper function for 'wernis_api_url'
 function getWernisApiUrl () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Get config entry
                $GLOBALS[__FUNCTION__] = getConfig('wernis_api_url');
@@ -460,7 +460,7 @@ function getWernisApiUrl () {
 
 // Wrapper function for 'wernis_withdraw_active'
 function getWernisWithdrawActive () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Get config entry
                $GLOBALS[__FUNCTION__] = getConfig('wernis_withdraw_active');
@@ -472,7 +472,7 @@ function getWernisWithdrawActive () {
 
 // Wrapper function for 'wernis_payout_active'
 function getWernisPayoutActive () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Get config entry
                $GLOBALS[__FUNCTION__] = getConfig('wernis_payout_active');
@@ -484,7 +484,7 @@ function getWernisPayoutActive () {
 
 // Wrapper function for 'wernis_withdraw_active'
 function isWernisWithdrawActive () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Get config entry
                $GLOBALS[__FUNCTION__] = (getConfig('wernis_withdraw_active') == 'Y');
@@ -496,7 +496,7 @@ function isWernisWithdrawActive () {
 
 // Wrapper function for 'wernis_payout_active'
 function isWernisPayoutActive () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Get config entry
                $GLOBALS[__FUNCTION__] = (getConfig('wernis_payout_active') == 'Y');
@@ -508,7 +508,7 @@ function isWernisPayoutActive () {
 
 // Wrapper function for 'wernis_withdraw_factor'
 function getWernisWithdrawFactor () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Get config entry
                $GLOBALS[__FUNCTION__] = getConfig('wernis_withdraw_factor');
@@ -520,7 +520,7 @@ function getWernisWithdrawFactor () {
 
 // Wrapper function for 'wernis_payout_factor'
 function getWernisPayoutFactor () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Get config entry
                $GLOBALS[__FUNCTION__] = getConfig('wernis_payout_factor');
@@ -532,7 +532,7 @@ function getWernisPayoutFactor () {
 
 // Wrapper function for 'wernis_withdraw_fee_percent'
 function getWernisWithdrawFeePercent () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Get config entry
                $GLOBALS[__FUNCTION__] = getConfig('wernis_withdraw_fee_percent');
@@ -544,7 +544,7 @@ function getWernisWithdrawFeePercent () {
 
 // Wrapper function for 'wernis_withdraw_fee_fix'
 function getWernisWithdrawFeeFix () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Get config entry
                $GLOBALS[__FUNCTION__] = getConfig('wernis_withdraw_fee_fix');