* Member template added for the surfbar which notifies the user that the URL is
[mailer.git] / inc / modules / guest / what-sponsor_login.php
index 2c00d2ec863356f7f7548eb06b001fcb3889225c..ed600bdd8c7fd3f96dc1f30636d0366633c36175 100644 (file)
@@ -88,17 +88,7 @@ WHERE id='%s' AND hash='%s' AND status='UNCONFIRMED' LIMIT 1",
                                SEND_EMAIL($SPONSOR['email'], SPONSOR_ACCOUNT_PENDING_SUBJ, $MSG);
 
                                // Send email to admin
-                               if (GET_EXT_VERSION("admins") >= "0.4.1")
-                               {
-                                       // Use new system
-                                       SEND_ADMIN_EMAILS_PRO (ADMIN_NEW_SPONSOR, "admin_sponsor_pending", $SPONSOR);
-                               }
-                                else
-                               {
-                                       // Send over old system
-                                       $msg_admin = LOAD_EMAIL_TEMPLATE("admin_sponsor_pending", $SPONSOR);
-                                       SEND_ADMIN_EMAILS (ADMIN_NEW_SPONSOR, $msg_admin);
-                               }
+                               SEND_ADMIN_NOTIFICATION(ADMIN_NEW_SPONSOR, "admin_sponsor_pending", $SPONSOR);
 
                                // Sponsor account set to pending
                                LOAD_TEMPLATE("admin_settings_saved", false, SPONSOR_ACCOUNT_IS_PENDING);