diff MoinMoin/action/quickunlink.py @ 4421:f414aece63e0

send_page has no msg param any more, use theme.add_msg
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 11 Nov 2008 22:00:33 +0100
parents a1322262398a
children
line wrap: on
line diff
--- a/MoinMoin/action/quickunlink.py	Sat Nov 08 14:43:49 2008 +0100
+++ b/MoinMoin/action/quickunlink.py	Tue Nov 11 22:00:33 2008 +0100
@@ -22,5 +22,7 @@
             msg = _('Your quicklink to this page could not be removed.')
     else:
         msg = _('You need to have a quicklink to this page to remove it.')
+    if msg:
+        request.theme.add_msg(msg)
+    Page(request, pagename).send_page()
 
-    Page(request, pagename).send_page(msg=msg)