X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fautopurge_functions.php;h=275cdfcacc43349af7403147c36e01a0be0fe5b9;hp=270c7a9f90fb98be1589434d8cf62122ebb80539;hb=e3934352dffa6eb9da59a137ae1a9414e5b4d80b;hpb=2e394cb5b8a6225a39a6942b1fcc17c37a17a175 diff --git a/inc/libs/autopurge_functions.php b/inc/libs/autopurge_functions.php index 270c7a9f90..275cdfcacc 100644 --- a/inc/libs/autopurge_functions.php +++ b/inc/libs/autopurge_functions.php @@ -17,7 +17,7 @@ * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * 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 * @@ -49,7 +49,8 @@ function addPointsAutoPurge ($userid, $points) { } // END - if // Add points over the ref system directly now - addPointsDirectly('autopurge_add', $userid, $points); + initReferralSystem(); + addPointsThroughReferralSystem('autopurge_add', $userid, $points); // Send out mail to user $message = loadEmailTemplate('member_autopurge_points', array('points' => $points), $userid);