]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-sponsor_reg.php
* Member template added for the surfbar which notifies the user that the URL is
[mailer.git] / inc / modules / guest / what-sponsor_reg.php
index 3d54c25b2ccd7a10c185248537d53b5bcf73bb53..875a6584ae249de3f57a911dd99448cdbced4bec 100644 (file)
@@ -263,17 +263,7 @@ WHERE id='%s' LIMIT 1", array($_POST['pay_type']), __FILE__, __LINE__);
                        SEND_EMAIL($_POST['email'], SPONSOR_PLEASE_CONFIRM_SUBJ, $EMAIL_MSG);
 
                        // Send mail to admin
-                       if (GET_EXT_VERSION("admins") >= "0.4.1")
-                       {
-                               // Use new system
-                               SEND_ADMIN_EMAILS_PRO(ADMIN_NEW_SPONSOR, "admin_sponsor_reg", $hash);
-                       }
-                        else
-                       {
-                               // Send over old system
-                               $msg_admin = LOAD_EMAIL_TEMPLATE("admin_sponsor_reg", $hash);
-                               SEND_ADMIN_EMAILS (ADMIN_NEW_SPONSOR, $msg_admin);
-                       }
+                       SEND_ADMIN_NOTIFICATION(ADMIN_NEW_SPONSOR, "admin_sponsor_reg", $hash);
 
                        // Output message: DONE
                        $MSG = $MSGs['added'];