X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-points.php;h=523456832fc3e5efd3482c6c84d3b61ec5d588f7;hp=996b9dc1c7be9a07264cd88921ad937c22b6874c;hb=1bf7c189fda17ce6c702f600c0eb084b681a307b;hpb=03ba5e2fb6ea0b03d4286fa1cc6dcbbc23c7b3df diff --git a/inc/modules/member/what-points.php b/inc/modules/member/what-points.php index 996b9dc1c7..523456832f 100644 --- a/inc/modules/member/what-points.php +++ b/inc/modules/member/what-points.php @@ -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;