summaryrefslogtreecommitdiffstats
path: root/rrdtool-expert-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2009-12-17 10:28:01 +0000
committerTed Trask <ttrask01@yahoo.com>2009-12-17 10:28:01 +0000
commit7b4ec470fa2e95cfcb1d2c5244f940acbf4ec0f6 (patch)
treea67601a457ebf5d9c7bf0f4f0e574531b31823ae /rrdtool-expert-html.lsp
parentdf139d6795334165c4fa84aaeba9e2cea85b0c2d (diff)
downloadacf-rrdtool-7b4ec470fa2e95cfcb1d2c5244f940acbf4ec0f6.tar.bz2
acf-rrdtool-7b4ec470fa2e95cfcb1d2c5244f940acbf4ec0f6.tar.xz
Use viewlibrary.check_permission from acf-core-0.9.0
Diffstat (limited to 'rrdtool-expert-html.lsp')
-rw-r--r--rrdtool-expert-html.lsp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rrdtool-expert-html.lsp b/rrdtool-expert-html.lsp
index 6cbb910..c983b88 100644
--- a/rrdtool-expert-html.lsp
+++ b/rrdtool-expert-html.lsp
@@ -20,6 +20,6 @@ local func = haserl.loadfile(page_info.viewfile:gsub(pattern..".*$", "/") .. "fi
func(form, viewlibrary, page_info, session)
%>
-<% if viewlibrary and viewlibrary.dispatch_component and session.permissions[page_info.controller].startstop then
+<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("startstop") then
viewlibrary.dispatch_component("startstop")
end %>