]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-register.php
* Member template added for the surfbar which notifies the user that the URL is
[mailer.git] / inc / modules / guest / what-register.php
index 758da7a7e41b8a7f67ff58e9c7d81f5f985fe593..c0eeb66f5b82e40a23c8eba0e0f57136b9b06549 100644 (file)
@@ -338,17 +338,7 @@ array(
        $DATA['email'] = $EMAIL;
 
        // Send mail to admin
-       if (GET_EXT_VERSION("admins") >= "0.4.1")
-       {
-               // Use new system
-               SEND_ADMIN_EMAILS_PRO(ADMIN_NEW_ACCOUNT, "register-admin", $DATA, $userid);
-       }
-        else
-       {
-               // Use old system
-               $msg_admin = LOAD_EMAIL_TEMPLATE("register-admin", $DATA, $userid);
-               SEND_ADMIN_EMAILS (ADMIN_NEW_ACCOUNT, $msg_admin);
-       }
+       SEND_ADMIN_NOTIFICATION(ADMIN_NEW_ACCOUNT, "register-admin", $DATA, $userid);
 
        // Output success registration
        LOAD_TEMPLATE("admin_settings_saved", false, REGISTRATION_DONE);