The privileges variable is not needed by the account.php template

This commit is contained in:
Alex Tselegidis 2021-12-20 09:16:05 +01:00
parent 37c46c7286
commit 7799f08da6

View file

@ -67,7 +67,6 @@ class Account extends EA_Controller {
'active_menu' => PRIV_SYSTEM_SETTINGS, 'active_menu' => PRIV_SYSTEM_SETTINGS,
'user_display_name' => $this->accounts->get_user_display_name($user_id), 'user_display_name' => $this->accounts->get_user_display_name($user_id),
'timezones' => $this->timezones->to_array(), 'timezones' => $this->timezones->to_array(),
'privileges' => $this->roles_model->get_permissions_by_slug($role_slug),
]); ]);
$this->load->view('pages/account', html_vars()); $this->load->view('pages/account', html_vars());