]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/autopurge_functions.php
Referal system refactured (and some parts fixed), wrapper function introduced:
[mailer.git] / inc / libs / autopurge_functions.php
index 270c7a9f90fb98be1589434d8cf62122ebb80539..72d4e0ae7eced026d68a3a4d617fef26720d5e55 100644 (file)
@@ -49,7 +49,7 @@ function addPointsAutoPurge ($userid, $points) {
        } // END - if
 
        // Add points over the ref system directly now
-       addPointsDirectly('autopurge_add', $userid, $points);
+       addPointsThroughReferalSystem('autopurge_add', $userid, $points);
 
        // Send out mail to user
        $message = loadEmailTemplate('member_autopurge_points', array('points' => $points), $userid);