diff options
author | Vladimirs Maksimovs <vladimirs.maksimovs@zabbix.com> | 2020-07-14 09:46:38 +0300 |
---|---|---|
committer | Vladimirs Maksimovs <vladimirs.maksimovs@zabbix.com> | 2020-07-14 09:46:38 +0300 |
commit | 750ad92ed2d2be9df7251c67591bf39de204f959 (patch) | |
tree | 842b7c6cc7f9cbef5300f843e94d21b0d2a4961a /ui/app/controllers/CControllerPopupMedia.php | |
parent | 36217d887f2a444c4d32db3c9e8b4d854220e19c (diff) |
A.F....... [ZBXNEXT-82] replaced select_config function calls to helpers get method calls; fixed code style
Diffstat (limited to 'ui/app/controllers/CControllerPopupMedia.php')
-rw-r--r-- | ui/app/controllers/CControllerPopupMedia.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/app/controllers/CControllerPopupMedia.php b/ui/app/controllers/CControllerPopupMedia.php index 667de4e07dd..e28d5e5fb7d 100644 --- a/ui/app/controllers/CControllerPopupMedia.php +++ b/ui/app/controllers/CControllerPopupMedia.php @@ -25,9 +25,8 @@ class CControllerPopupMedia extends CController { protected function init() { $this->disableSIDvalidation(); - $config = select_config(); for ($severity = TRIGGER_SEVERITY_NOT_CLASSIFIED; $severity < TRIGGER_SEVERITY_COUNT; $severity++) { - $this->severities[$severity] = getSeverityName($severity, $config); + $this->severities[$severity] = getSeverityName($severity); } } |