The privileges variable is not needed by the account.php template
This commit is contained in:
parent
37c46c7286
commit
7799f08da6
1 changed files with 0 additions and 1 deletions
|
@ -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());
|
||||||
|
|
Loading…
Reference in a new issue