diff options
author | Vladimirs Maksimovs <vladimirs.maksimovs@zabbix.com> | 2020-07-10 16:58:31 +0300 |
---|---|---|
committer | Vladimirs Maksimovs <vladimirs.maksimovs@zabbix.com> | 2020-07-10 16:58:31 +0300 |
commit | 36217d887f2a444c4d32db3c9e8b4d854220e19c (patch) | |
tree | fdb66ff3344ed734db531d4eece55497ad6812aa /ui/actionconf.php | |
parent | ea96ab369625ab0864b17fafed317d135e5b9101 (diff) |
..F....... [ZBXNEXT-82] replaced select_config function calls to helpers get method calls
Diffstat (limited to 'ui/actionconf.php')
-rw-r--r-- | ui/actionconf.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ui/actionconf.php b/ui/actionconf.php index 421a6224be2..e0ae2e4d3f6 100644 --- a/ui/actionconf.php +++ b/ui/actionconf.php @@ -438,8 +438,6 @@ if (hasRequest('action') && hasRequest('g_actionid') && !$result) { */ show_messages(); -$config = select_config(); - if (hasRequest('form')) { $data = [ 'form' => getRequest('form'), @@ -447,8 +445,7 @@ if (hasRequest('form')) { 'new_condition' => getRequest('new_condition', []), 'new_operation' => getRequest('new_operation'), 'new_recovery_operation' => getRequest('new_recovery_operation'), - 'new_ack_operation' => $new_ack_operation, - 'config' => $config + 'new_ack_operation' => $new_ack_operation ]; if ($data['actionid']) { @@ -603,7 +600,6 @@ else { 'sort' => $sortField, 'sortorder' => $sortOrder, 'filter' => $filter, - 'config' => $config, 'profileIdx' => 'web.actionconf.filter', 'active_tab' => CProfile::get('web.actionconf.filter.active', 1) ]; @@ -621,7 +617,7 @@ else { 'selectOperations' => API_OUTPUT_EXTEND, 'editable' => true, 'sortfield' => $sortField, - 'limit' => $config['search_limit'] + 1 + 'limit' => CSettingsHelper::get(CSettingsHelper::SEARCH_LIMIT) + 1 ]); // pager |