* Member template added for the surfbar which notifies the user that the URL is
[mailer.git] / inc / modules / member / what-payout.php
index 3ed797f332370ec48011270ee23c4c9b18c3cdfe..a61a58bf3cc65435de6702eb2a4f91d8e7207649 100644 (file)
@@ -267,16 +267,7 @@ VALUES (0, 'NEW', 'PAYOUT_REQUEST', '[payout:] ".PAYOUT_REQUEST_ADMIN."', '%s',
                                SEND_EMAIL($GLOBALS['userid'], PAYOUT_REQUEST_MEMBER, $msg_mem);
 
                                // To admin(s)
-                               if (GET_EXT_VERSION("admins") >= "0.4.1")
-                               {
-                                       // Use new method
-                                       SEND_ADMIN_EMAILS_PRO(PAYOUT_REQUEST_ADMIN, $admin_tpl, "", $GLOBALS['userid']);
-                               }
-                                else
-                               {
-                                       // Use old method
-                                       SEND_ADMIN_EMAILS(PAYOUT_REQUEST_ADMIN, $msg_adm);
-                               }
+                               SEND_ADMIN_NOTIFICATION(PAYOUT_REQUEST_ADMIN, $admin_tpl, "", $GLOBALS['userid']);
 
                                // Load template and output it
                                LOAD_TEMPLATE("admin_settings_saved", false, PAYOUT_REQUEST_SENT);