[AppDB] Add admins as recipient group for contact form

Rosanne DiMesio dimesio at earthlink.net
Fri Aug 4 12:44:40 CDT 2017


Signed-off-by: Rosanne DiMesio <dimesio at earthlink.net>
---
 contact.php | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/contact.php b/contact.php
index 9bbb4fd..a1b5c1d 100644
--- a/contact.php
+++ b/contact.php
@@ -37,6 +37,13 @@ if($sRecipientGroup)
             if($sRecipients === FALSE)
             util_show_error_page_and_exit("Failed to get list of maintainers");
             break;
+            
+        case 'admins';
+            $sRecipientText = 'all AppDB admins';
+            $sRecipients = user::getAdminEmails();
+            if($sRecipients === FALSE)
+            util_show_error_page_and_exit("Failed to get list of admins");
+            break;
 
         default:
             util_show_error_page_and_exit("Invalid recipient group");
-- 
2.12.3




More information about the wine-patches mailing list