* Member template added for the surfbar which notifies the user that the URL is
[mailer.git] / inc / libs / holiday_functions.php
index 5e10287d2f9b267d072c740c707f8da50232a933..49ab3b2be69de49a0195f40106fa185d36196ad4 100644 (file)
@@ -76,17 +76,7 @@ WHERE userid=%d LIMIT 1", array(bigintval($uid)), __FILE__, __LINE__);
                }
 
                // Send mail to admins
-               if (GET_EXT_VERSION("admins") >= "0.4.1")
-               {
-                       // Use new system
-                       SEND_ADMIN_EMAILS_PRO(HOLIDAY_ADMIN_UNLOCK_SUBJ, "admin_holiday_unlock", $admin, "0");
-               }
-                else
-               {
-                       // Use old system
-                       $msg = LOAD_EMAIL_TEMPLATE("admin_holiday_unlock", $admin, "0");
-                       SEND_ADMIN_EMAILS(HOLIDAY_ADMIN_UNLOCK_SUBJ, $msg);
-               }
+               SEND_ADMIN_NOTIFICATION(HOLIDAY_ADMIN_UNLOCK_SUBJ, "admin_holiday_unlock", $admin, "0");
        }
 
        // Free memory