summaryrefslogtreecommitdiffhomepage
path: root/libs/lucid-http/luasrc/lucid
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-07-24 15:33:06 +0000
committerSteven Barth <steven@midlink.org>2009-07-24 15:33:06 +0000
commitf1e1f7a4517d0f31bb753c990134bdb2ed6ad07c (patch)
treeaa8ccc7ea4ba7ab29fe60da7d355efc645ad701f /libs/lucid-http/luasrc/lucid
parent7aacb0561d69fde5f65c27a8351b1a850fe884ac (diff)
Revert "libs/lucid-http: prepare external indexing and tree building in luci handler"
This reverts commit e70104be85933a0d6cef5b8639f3a042e6d76896.
Diffstat (limited to 'libs/lucid-http/luasrc/lucid')
-rw-r--r--libs/lucid-http/luasrc/lucid/http/handler/luci.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/libs/lucid-http/luasrc/lucid/http/handler/luci.lua b/libs/lucid-http/luasrc/lucid/http/handler/luci.lua
index 8f203e163f..d816aae13b 100644
--- a/libs/lucid-http/luasrc/lucid/http/handler/luci.lua
+++ b/libs/lucid-http/luasrc/lucid/http/handler/luci.lua
@@ -11,7 +11,6 @@ You may obtain a copy of the License at
$Id$
]]--
-local cbi = require "luci.cbi"
local dsp = require "luci.dispatcher"
local util = require "luci.util"
local http = require "luci.http"
@@ -34,8 +33,6 @@ Luci = util.class(srv.Handler)
function Luci.__init__(self, name, prefix)
srv.Handler.__init__(self, name)
self.prefix = prefix
-
- self.dsp_tree = dsp.createtree()
end
--- Handle a HEAD request.
@@ -69,7 +66,7 @@ function Luci.handle_GET(self, request, sourcein)
local x = coroutine.create(dsp.httpdispatch)
while not id or id < 3 do
- res, id, data1, data2 = coroutine.resume(x, r, self.prefix, self.dsp_tree)
+ res, id, data1, data2 = coroutine.resume(x, r, self.prefix)
if not res then
status = 500