From 6ff6b53ee67698c433605cc3bd760c095b4b707f Mon Sep 17 00:00:00 2001 From: Mika Havela Date: Fri, 3 Jul 2009 06:53:14 +0000 Subject: Adding functionallity to see 'rrdtool info' on the existing DBs. --- rrdtool-controller.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rrdtool-controller.lua') diff --git a/rrdtool-controller.lua b/rrdtool-controller.lua index e565c51..7aef79c 100644 --- a/rrdtool-controller.lua +++ b/rrdtool-controller.lua @@ -37,3 +37,6 @@ function delete(self) return self:redirect_to_referrer(self.model.remove_file(self, self.clientdata.filename, sessiondata.userinfo.userid)) end +function rrdinfo(self) + return self:redirect_to_referrer(self.model.rrd_info(self, self.clientdata.filename, sessiondata.userinfo.userid)) +end -- cgit v1.2.3