changeset 1789:8da1d5df4b90

send_page: remove some more call's request param (see cs 1777)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 22 Feb 2007 17:05:48 +0100
parents 6277072e7add
children abe8fa4a13b2
files MoinMoin/request/__init__.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/request/__init__.py	Thu Feb 22 17:03:49 2007 +0100
+++ b/MoinMoin/request/__init__.py	Thu Feb 22 17:05:48 2007 +0100
@@ -1100,7 +1100,7 @@
 space between words. Group page name is not allowed.""") % self.user.name
                 self.user = self.get_user_default_unknown(name=self.user.name, logout=True)
                 page = wikiutil.getLocalizedPage(self, 'UserPreferences')
-                page.send_page(self, msg=msg)
+                page.send_page(msg=msg)
 
             # 2. Or jump to page where user left off
             elif not pagename and self.user.remember_last_visit:
@@ -1142,7 +1142,7 @@
                         msg += " " + _("Login and try again.", formatted=0)
 
                 if msg:
-                    self.page.send_page(self, msg=msg)
+                    self.page.send_page(msg=msg)
 
                 # Try action
                 else:
@@ -1154,7 +1154,7 @@
                         if not self.user.valid:
                             # Suggest non valid user to login
                             msg += " " + _("Login and try again.", formatted=0)
-                        self.page.send_page(self, msg=msg)
+                        self.page.send_page(msg=msg)
                     else:
                         handler(self.page.page_name, self)