comparison 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
comparison
equal deleted inserted replaced
4420:5ccf04ad9941 4421:f414aece63e0
20 msg = _('Your quicklink to this page has been removed.') 20 msg = _('Your quicklink to this page has been removed.')
21 else: # should not happen 21 else: # should not happen
22 msg = _('Your quicklink to this page could not be removed.') 22 msg = _('Your quicklink to this page could not be removed.')
23 else: 23 else:
24 msg = _('You need to have a quicklink to this page to remove it.') 24 msg = _('You need to have a quicklink to this page to remove it.')
25 if msg:
26 request.theme.add_msg(msg)
27 Page(request, pagename).send_page()
25 28
26 Page(request, pagename).send_page(msg=msg)