Browse Source

new service module

andre 4 năm trước cách đây
mục cha
commit
3195039cda
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      serviceAddon.php

+ 3 - 1
serviceAddon.php

@@ -40,7 +40,9 @@ function serviceAddon_UsageUpdate(array $params) {
 }
 
 function serviceAddon_ConfigOptions(array $params) {
-    $configOptions = array();
+    $emailTemplates = localAPI('GetEmailTemplates');
+    $configOptions = $emailTemplates->toArray();
+
     return $configOptions;
 }