diff MoinMoin/action/AttachFile.py @ 3525:ee0644a26e30

action Attachfile, Despam, backup, thread_monitor: removed duplicated checks done by request.__init__
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sat, 26 Apr 2008 19:42:26 +0200
parents 5f660b3c1cd7
children 1052c105b16f
line wrap: on
line diff
--- a/MoinMoin/action/AttachFile.py	Sat Apr 26 15:43:15 2008 +0200
+++ b/MoinMoin/action/AttachFile.py	Sat Apr 26 19:42:26 2008 +0200
@@ -503,11 +503,6 @@
     """ Main dispatcher for the 'AttachFile' action. """
     _ = request.getText
 
-    if action_name in request.cfg.actions_excluded:
-        msg = _('File attachments are not allowed in this wiki!')
-        error_msg(pagename, request, msg)
-        return
-
     do = request.form.get('do', ['upload_form'])
     handler = globals().get('_do_%s' % do[0])
     if handler: