summaryrefslogtreecommitdiffstats
path: root/logfiles-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'logfiles-controller.lua')
-rw-r--r--logfiles-controller.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/logfiles-controller.lua b/logfiles-controller.lua
index 72a9b95..a90afec 100644
--- a/logfiles-controller.lua
+++ b/logfiles-controller.lua
@@ -21,14 +21,9 @@ download = function (self)
local filestatus = view(self)
local filecontent = filestatus.value.filecontent
filecontent.label = posix.basename(filestatus.value.filename.value)
- self.conf.viewtype = "stream"
-
return filecontent
end
tail = function (self)
- if self.clientdata.offset then
- self.conf.viewtype = "ajax"
- end
return self.model.tail(self.clientdata.name, self.clientdata.offset, self.clientdata.grep)
end