]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-points.php
A lot templates rewritten, TODOs.txt updated, XHTML fixes:
[mailer.git] / inc / modules / member / what-points.php
index 996b9dc1c7be9a07264cd88921ad937c22b6874c..523456832fc3e5efd3482c6c84d3b61ec5d588f7 100644 (file)
@@ -114,12 +114,6 @@ SQL_FREERESULT($result_depths);
 // Put rows to constant for the main template
 $content['rows'] = $OUT;
 
-// Fetch user account
-if (!fetchUserData(getMemberId())) {
-       // Something really bad happened
-       debug_report_bug('User account ' . getMemberId() . ' not found.');
-} // END - if
-
 // Initialize variables
 $CONFIRMED = '---'; $SENT = '---'; $RECEIVED = '---';
 
@@ -145,7 +139,6 @@ if (isExtensionInstalledAndNewer('user', '0.1.2')) {
 if ($TLOCK == '0') $TLOCK = '0.00000';
 
 // Remember several values in constants
-$content['used']  = translateComma(getUserData('used_points'));
 $content['sum']   = translateComma($totalPoints - getUserData('used_points'));
 $content['tref']  = $TREF;
 $content['tlock'] = translateComma($TLOCK);
@@ -198,7 +191,6 @@ if ((isExtensionInstalledAndNewer('bonus', '0.2.2')) && (isExtensionActive('bonu
 
 // Remeber values for the final template
 $content['receive']   = $RECEIVED;
-$content['pay']       = getUserData('ref_payout');
 $content['confirmed'] = $CONFIRMED;
 $content['sent']      = $SENT;