]> git.mxchange.org Git - mailer.git/blobdiff - inc/daily/daily_100_bonus.php
Minor: With dot again (better grammar)
[mailer.git] / inc / daily / daily_100_bonus.php
index 055faf701fb315b1927fbe5af856563c6f00c512..33111c7de67695e2ab70d467fc6b0b1059ece87d 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
+ * 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 *
@@ -42,7 +42,7 @@ if (!defined('__SECURITY')) {
        // Do not execute when script is in CSS mode or no daily reset
        return;
 } elseif (!isExtensionActive('bonus')) {
-       logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension disabled.');
+       logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-bonus disabled.');
        return;
 }
 
@@ -51,7 +51,12 @@ if (!defined('__SECURITY')) {
 
 // Check for 100% klickrate mails
 $result_bonus = SQL_QUERY("SELECT
-       `id`,`userid`,`subject`,`timestamp_ordered`,`clicks`,`url`
+       `id`,
+       `userid`,
+       `subject`,
+       `timestamp_ordered`,
+       `clicks`,
+       `url`
 FROM
        `{?_MYSQL_PREFIX?}_user_stats`
 WHERE
@@ -81,7 +86,7 @@ if (!SQL_HASZERONUMS($result_bonus)) {
        } // END - while
 
        // Handle bonus points
-       handleBonusPoints(getConfig('bonus_stats'), $content['userid']);
+       handleBonusPoints(getBonusStats(), $content['userid']);
 } // END - if
 
 // Free memory