mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Rename haveAdminPrivileges -> isAdministratorOrPrintErr (use meaningful names)
This commit is contained in:
parent
96c5e2025d
commit
ca6707c54a
52 changed files with 53 additions and 53 deletions
|
|
@ -11,7 +11,7 @@ local page_utils = require("page_utils")
|
|||
sendHTTPContentTypeHeader('text/html')
|
||||
|
||||
|
||||
if(haveAdminPrivileges()) then
|
||||
if(isAdministratorOrPrintErr()) then
|
||||
interface.select(ifname)
|
||||
|
||||
page_utils.set_active_menu_entry(page_utils.menu_entries.manage_users)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue