]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-unconfirmed.php
Rewrote script to use more EL, introduced wrappers for sending pool:
[mailer.git] / inc / modules / member / what-unconfirmed.php
index d2fe6db28ba3467557ed849761b221e96b704b05..34515878f862b59cbd8472f2f3639432aff8da15 100644 (file)
@@ -125,12 +125,9 @@ LIMIT 1",
        // Load data
        $content = SQL_FETCHARRAY($result_data);
 
-       // Get price/time to avoid one JOIN
-       $content['price'] = getPaymentPrice($content['payment_id']);
-       $content['time']  = getPaymentData($content['payment_id'], 'time');
-
        // Translate some data
        $content['timestamp'] = generateDateTime($content['timestamp'], '2');
+       // @TODO This call cannot be saved as EL code cannot be "framed" in other EL code
        $content['userid'] = getMemberId();
        $content['user_mail_status'] = '{%message,MEMBER_MAIL_NORMAL_CONFIRMED_UNKNOWN=' . $content['id'] . '%}';