diff MoinMoin/wikiutil.py @ 413:c85132ab35e3

Removed form code (which had been broken since it was hacked into) and the export action (which had been in a similar state). imported from: moin--main--1.5--patch-417
author Alexander Schremmer <alex@alexanderweb.de.tla>
date Fri, 03 Feb 2006 20:22:11 +0000
parents f25101c236bb
children e5609b8b7647
line wrap: on
line diff
--- a/MoinMoin/wikiutil.py	Fri Feb 03 20:12:31 2006 +0000
+++ b/MoinMoin/wikiutil.py	Fri Feb 03 20:22:11 2006 +0000
@@ -507,8 +507,7 @@
     @return: true if page is a system page
     """
     return (request.dicts.has_member('SystemPagesGroup', pagename) or
-        isTemplatePage(request, pagename) or
-        isFormPage(request, pagename))
+        isTemplatePage(request, pagename))
 
 
 def isTemplatePage(request, pagename):
@@ -522,16 +521,6 @@
     return filter.search(pagename) is not None
 
 
-def isFormPage(request, pagename):
-    """ Is this a form page?
-    
-    @param pagename: the page name
-    @rtype: bool
-    @return: true if page is a form page
-    """
-    filter = re.compile(request.cfg.page_form_regex, re.UNICODE)
-    return filter.search(pagename) is not None
-
 def isGroupPage(request, pagename):
     """ Is this a name of group page?