]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-doubler.php
Further rewrites due to deprecated functions in 5.3.1
[mailer.git] / inc / modules / member / what-doubler.php
index 364261fd4f0e53143fe51db8ebfc8d8875a0f6c8..ba674f53947d3ec3874bce19183922e45b451bab 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 02/17/2005 *
- * ================                             Last change: 02/17/2005 *
+ * Mailer v0.2.1-FINAL                                Start: 02/17/2005 *
+ * ===================                          Last change: 02/17/2005 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : what-doubler.php                                 *
@@ -18,6 +18,7 @@
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -52,11 +53,9 @@ if ((!isExtensionActive('doubler')) && (!isAdmin())) {
 } // END - if
 
 // Percent values etc.
+// @TODO The '*100' is in the way to get moved into the template
 $content['charge'] = translateComma(getConfig('doubler_charge') * 100);
 $content['ref']    = translateComma(getConfig('doubler_ref') * 100);
-$content['total']  = translateComma(getConfig('doubler_points'));
-$content['min']    = translateComma(getConfig('doubler_min'));
-$content['max']    = translateComma(getConfig('doubler_max'));
 
 // Default refid is the userid
 $content['userid'] = getMemberId();