mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Replace isEnterprise with isEnterpriseM
This commit is contained in:
parent
457066ebb4
commit
2425134f05
19 changed files with 38 additions and 38 deletions
|
|
@ -463,7 +463,7 @@ local function loadAndCheckScript(mod_fname, full_path, plugin, script_type, sub
|
|||
|
||||
-- Recheck the edition as the demo mode may expire
|
||||
if((plugin.edition == "pro" and (not ntop.isPro())) or
|
||||
((plugin.edition == "enterprise" and (not ntop.isEnterprise())))) then
|
||||
((plugin.edition == "enterprise" and (not ntop.isEnterpriseM())))) then
|
||||
traceError(TRACE_DEBUG, TRACE_CONSOLE, string.format("Skipping user script '%s' with '%s' edition", mod_fname, plugin.edition))
|
||||
return(nil)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue