(no commit message)
[project/luci.git] / core / src / ffluci / http.lua
index eab12e8f837c292213500c2b18d7cc242cc25071..f4ba5709468179aafd9d7f4445c6459bff2c03b5 100644 (file)
@@ -33,14 +33,4 @@ if ENV and ENV.HASERLVER then
        require("ffluci.sgi.haserl")
 elseif webuci then
        require("ffluci.sgi.webuci")
-end
-
--- Asks the browser to redirect to "url"
-function redirect(url, qs)
-       if qs then
-               url = url .. "?" .. qs
-       end
-       
-       ffluci.http.status(302, "Found")
-       print("Location: " .. url .. "\n")
 end
\ No newline at end of file