mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +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
|
|
@ -51,7 +51,7 @@ end
|
|||
function system_setup_ui_utils.print_page_before()
|
||||
sendHTTPContentTypeHeader('text/html')
|
||||
|
||||
if not haveAdminPrivileges() then
|
||||
if not isAdministratorOrPrintErr() then
|
||||
return false
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue