summaryrefslogtreecommitdiffstats
path: root/config/determine_class.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2013-10-27 01:59:54 +0000
committerTed Trask <ttrask01@yahoo.com>2013-10-27 01:59:54 +0000
commit89f1e294752c899ebdba06a6fbcfbcc390ecc807 (patch)
tree9fe02b61b8aef8d4d088762d1aae73179c5305fb /config/determine_class.lua
parent148d568b3db38ada9cf0c5085d2c71584d588598 (diff)
downloadacf-provisioning-89f1e294752c899ebdba06a6fbcfbcc390ecc807.tar.bz2
acf-provisioning-89f1e294752c899ebdba06a6fbcfbcc390ecc807.tar.xz
Pass logevent function to scripts
Diffstat (limited to 'config/determine_class.lua')
-rw-r--r--config/determine_class.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/determine_class.lua b/config/determine_class.lua
index 675e6e8..80830fa 100644
--- a/config/determine_class.lua
+++ b/config/determine_class.lua
@@ -1,7 +1,7 @@
-- This is the script run to determine the device class from the HTTP user agent
local functions, agent, classes = ...
---APP.logevent("got to determine_class script")
+--functions.logevent("got to determine_class script")
local manufacture, model
@@ -16,7 +16,7 @@ elseif string.match(agent, "snom") then
model = string.match(agent, "snom(%d+)")
end
---APP.logevent("Found "..(manufacture or "").." model "..(model or ""))
+--functions.logevent("Found "..(manufacture or "").." model "..(model or ""))
if manufacture and model then
for i,c in ipairs(classes.value) do