Browse code

Do not override other Contao notification types

Benjamin Roth authored on18/07/2016 09:59:35
Showing1 changed files
... ...
@@ -9,23 +9,19 @@
9 9
  * @license commercial
10 10
  */
11 11
 
12
-$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['contao'] = array
12
+$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['contao']['news_submitted'] = array
13 13
 (
14
-  // Type
15
-  'news_submitted'   => array
14
+  'recipients'    => array
16 15
   (
17
-    'recipients'    => array
18
-    (
19
-      'member_email' // The email address of the recipient
20
-    ),
21
-    'email_text'    => array
22
-    (
23
-      'news_topics' // The titles of all new news
24
-    ),
25
-    'email_html'    => array
26
-    (
27
-      'news_topics_html', // The titles of all new news
28
-      'news_topics' // The titles of all new news
29
-    )
16
+    'member_email' // The email address of the recipient
17
+  ),
18
+  'email_text'    => array
19
+  (
20
+    'news_topics' // The titles of all new news
21
+  ),
22
+  'email_html'    => array
23
+  (
24
+    'news_topics_html', // The titles of all new news
25
+    'news_topics' // The titles of all new news
30 26
   )
31 27
 );
32 28
\ No newline at end of file