]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/beg_functions.php
Simplified some more code:
[mailer.git] / inc / libs / beg_functions.php
index 6fc6f55c1761c25be809bae704df53c0ba77aa63..6606d3f6ee01d0645d8a29600c8221e8321ba7cb 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 10/15/2008 *
- * ===============                              Last change: 10/15/2008 *
+ * Mailer v0.2.1-FINAL                                Start: 10/15/2008 *
+ * ===================                          Last change: 10/15/2008 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : beg_functions.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 *
@@ -56,7 +57,7 @@ function addPointsBeg ($userid, $points) {
                // Add points to account
                // @TODO Try to rewrite the following unset()
                unset($GLOBALS['ref_level']);
-               addPointsThroughReferalSystem('beg', $userid, $points, false, '0', $locked, strtolower(getConfig('beg_mode')));
+               addPointsThroughReferalSystem('beg', $userid, $points, false, 0, $locked, strtolower(getConfig('beg_mode')));
        }
 
        // Subtract begged points from member account if the admin has selected one