]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/doubler_functions.php
Mailer project continued:
[mailer.git] / inc / libs / doubler_functions.php
index f5f7a233539a60c710032d2a74ef0b163bf62192..d5e9ba00ed154993d00fdea539c846c0eca026c4 100644 (file)
@@ -16,8 +16,8 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -68,7 +68,10 @@ function generateDoublerTable ($userid = NULL, $done = 'N', $ref = 'N', $sort =
 
        // List entries
        $result = SQL_QUERY_ESC("SELECT
-       `userid`, `refid`, `points`, `timemark`
+       `userid`,
+       `refid`,
+       `points`,
+       `timemark`
 FROM
        `{?_MYSQL_PREFIX?}_doubler`
 WHERE
@@ -168,7 +171,7 @@ function getDoublerUserid () {
 
 // "Getter" for doubler_timeout
 function getDoublerTimeout () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('doubler_timeout');
@@ -180,7 +183,7 @@ function getDoublerTimeout () {
 
 // "Getter" for doubler_send_mode
 function getDoublerSendMode () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('doubler_send_mode');
@@ -192,7 +195,7 @@ function getDoublerSendMode () {
 
 // "Getter" for doubler_ref
 function getDoublerRef () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('doubler_ref');
@@ -204,7 +207,7 @@ function getDoublerRef () {
 
 // "Getter" for doubler_points
 function getDoublerPoints () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('doubler_points');
@@ -216,7 +219,7 @@ function getDoublerPoints () {
 
 // "Getter" for doubler_min
 function getDoublerMin () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('doubler_min');
@@ -228,7 +231,7 @@ function getDoublerMin () {
 
 // "Getter" for doubler_max
 function getDoublerMax () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('doubler_max');
@@ -240,7 +243,7 @@ function getDoublerMax () {
 
 // "Getter" for doubler_counter
 function getDoublerCounter () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('doubler_counter');
@@ -252,7 +255,7 @@ function getDoublerCounter () {
 
 // "Getter" for doubler_charge
 function getDoublerCharge () {
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
                $GLOBALS[__FUNCTION__] = getConfig('doubler_charge');