Update ServerController.php

Added discord and webhook to function. Adding to #1286
pull/1292/head
Tim Zandbergen 2025-01-05 02:39:22 +01:00 committed by GitHub
parent 43fa882a5d
commit fa0723c74d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -149,6 +149,8 @@ class ServerController extends AbstractServerController
$tpl_data['edit_pushover_selected'] = psm_get_conf('pushover_status') ? 'yes' : 'no';
$tpl_data['edit_telegram_selected'] = psm_get_conf('telegram_status') ? 'yes' : 'no';
$tpl_data['edit_jabber_selected'] = psm_get_conf('jabber_status') ? 'yes' : 'no';
$tpl_data['edit_discord_selected'] = psm_get_conf('discord_status') ? 'yes' : 'no';
$tpl_data['edit_webhook_selected'] = psm_get_conf('webhook_status') ? 'yes' : 'no';
}
/**