Extension ext-user for sub id tracking continued:
[mailer.git] / inc / filters.php
index f5b846c5b9db2151f49171df4aa8d2b20b975707..fca3cf439ab5f9eae1a5ade4ce46b89aa2d39784 100644 (file)
@@ -1234,24 +1234,12 @@ function FILTER_INIT_SESSION ($filterData) {
 }
 
 // Filter for sending "build mail" to admin
 }
 
 // Filter for sending "build mail" to admin
-function FILTER_SEND_ADMIN_BUILD_MAIL ($filterData) {
-       // Is the module 'admin'?
-       if (getModule() == 'admin') {
-               // Okay, then call the proper function
-               call_user_func_array('sendAdminBuildMails', $filterData);
-       } // END - if
-
-       // Return data
-       return $filterData;
-}
-
-// Filter for sending "build mail" to member
-function FILTER_SEND_MEMBER_BUILD_MAIL ($filterData) {
-       // Is the module 'login'?
-       if (getModule() == 'login') {
-               // Okay, then call the proper function
-               call_user_func_array('sendMemberBuildMails', $filterData);
-       } // END - if
+function FILTER_SEND_BUILD_MAIL ($filterData) {
+       // Was one line updated?
+       //if ($filterData['affected'] == 1) {
+               // Then call the proper function
+               call_user_func_array('sendGenericBuildMails', $filterData);
+       //} // END - if
 
        // Return data
        return $filterData;
 
        // Return data
        return $filterData;