Skip to content

Commit fa0723c

Browse files
authored
Update ServerController.php
Added discord and webhook to function. Adding to #1286
1 parent 43fa882 commit fa0723c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/psm/Module/Server/Controller/ServerController.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ private static function setDefaultMonitoringNotificationsToConfiguredValues( arr
149149
$tpl_data['edit_pushover_selected'] = psm_get_conf('pushover_status') ? 'yes' : 'no';
150150
$tpl_data['edit_telegram_selected'] = psm_get_conf('telegram_status') ? 'yes' : 'no';
151151
$tpl_data['edit_jabber_selected'] = psm_get_conf('jabber_status') ? 'yes' : 'no';
152+
$tpl_data['edit_discord_selected'] = psm_get_conf('discord_status') ? 'yes' : 'no';
153+
$tpl_data['edit_webhook_selected'] = psm_get_conf('webhook_status') ? 'yes' : 'no';
152154
}
153155

154156
/**

0 commit comments

Comments
 (0)