Referal system refactured (and some parts fixed), wrapper function introduced:
[mailer.git] / inc / modules / admin / what-del_email.php
index f23808f9f2811ba7b660983a0d9f79da25b7d67f..2727c7173e7b01fe04dbd987c5e0ecdad63386cf 100644 (file)
@@ -109,8 +109,7 @@ LIMIT 1",
                                } // END - if
 
                                // Pay back points
-                               //* DEBUG: */ debugOutput('PAYBACK:'.$content['sender']);
-                               addPointsDirectly('mail_deleted', $content['sender'], $totalPoints);
+                               addPointsThroughReferalSystem('mail_deleted', $content['sender'], $totalPoints);
 
                                // Output message
                                if (getConfig('repay_deleted_mails') == 'REPAY') {