Module: check_mk
Branch: master
Commit: 2a023e81256027cb7d5c1fb38066aa62ee3d4962
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2a023e81256027…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Oct 10 13:43:10 2014 +0200
Removed commented out code
---
web/htdocs/visuals.py | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/web/htdocs/visuals.py b/web/htdocs/visuals.py
index 1f76acd..f81a77d 100644
--- a/web/htdocs/visuals.py
+++ b/web/htdocs/visuals.py
@@ -1007,20 +1007,6 @@ class VisualFilterList(ListOfMultiple):
def filter_names(self):
return self._filters.keys()
- # get the filters to be used from the value and the data from the filter
- # objects using the row data
- ## FIXME: This function does not deal with user input. It is just being
- ## used for creating links to views. Why is it here?
- ## def filter_variable_settings(self, value, row):
- ## vars = []
- ## for fname in value.keys():
- ## try:
- ## vars += self._filters[fname].variable_settings(row)
- ## except KeyError:
- ## # When the row misses at least one var for a filter ignore this filter
completely
- ## pass
- ## return vars
-
# Realizes a Multisite/visual filter in a valuespec. It can render the filter form, get
# the filled in values and provide the filled in information for persistance.
class VisualFilter(ValueSpec):