mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19: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
|
|
@ -14,7 +14,7 @@ local format_utils = require("format_utils")
|
|||
local os_utils = require "os_utils"
|
||||
local host_pools_nedge = require "host_pools_nedge"
|
||||
|
||||
if not haveAdminPrivileges() then
|
||||
if not isAdministratorOrPrintErr() then
|
||||
sendHTTPContentTypeHeader('text/html')
|
||||
|
||||
page_utils.print_header()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue