diff MoinMoin/action/info.py @ 1873:9117dcbfd624

remove some unused code
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 11 Mar 2007 02:27:24 +0100
parents 9406e02388cf
children b07b4c102d3d
line wrap: on
line diff
--- a/MoinMoin/action/info.py	Sun Mar 11 00:03:03 2007 +0100
+++ b/MoinMoin/action/info.py	Sun Mar 11 02:27:24 2007 +0100
@@ -94,19 +94,7 @@
 
         def render_action(text, query, **kw):
             kw.update(dict(rel='nofollow'))
-            if 0: # XXX diff button doesnt work
-                params_html = []
-                for k, v in query.items():
-                    params_html.append('<input type="hidden" name="%s" value="%s">' % (k, v))
-                params_html = ''.join(params_html)
-                html = '''
-<form>
-<input type="submit" value="%s">
-%s
-</form>
-''' % (text, params_html)
-            else:
-                html = page.link_to(request, text, querystr=query, **kw)
+            html = page.link_to(request, text, querystr=query, **kw)
             return html
 
         # read in the complete log of this page