changeset 4149:769850545997

Removed request.editlog
author Florian Krupicka <florian.krupicka@googlemail.com>
date Sun, 08 Jun 2008 00:37:59 +0200
parents 78e6deeadc7e
children 72604cb46155
files MoinMoin/Page.py MoinMoin/request/__init__.py MoinMoin/wsgiapp.py
diffstat 3 files changed, 2 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/Page.py	Sun Jun 08 00:32:31 2008 +0200
+++ b/MoinMoin/Page.py	Sun Jun 08 00:37:59 2008 +0200
@@ -109,7 +109,8 @@
             (for 'meta') or the complete cache ('pagelists').
             @param request: the request object
         """
-        elog = request.editlog
+        from MoinMoin.logfile import editlog
+        elog = editlog.EditLog(request)
         old_pos = self.log_pos
         new_pos, items = elog.news(old_pos)
         if items:
--- a/MoinMoin/request/__init__.py	Sun Jun 08 00:32:31 2008 +0200
+++ b/MoinMoin/request/__init__.py	Sun Jun 08 00:37:59 2008 +0200
@@ -192,9 +192,6 @@
             from MoinMoin.Page import RootPage
             self.rootpage = RootPage(self)
 
-            from MoinMoin.logfile import editlog
-            self.editlog = editlog.EditLog(self)
-
             from MoinMoin import i18n
             self.i18n = i18n
             i18n.i18n_init(self)
--- a/MoinMoin/wsgiapp.py	Sun Jun 08 00:32:31 2008 +0200
+++ b/MoinMoin/wsgiapp.py	Sun Jun 08 00:37:59 2008 +0200
@@ -46,9 +46,6 @@
     from MoinMoin.Page import RootPage
     request.rootpage = RootPage(request)
 
-    from MoinMoin.logfile import editlog
-    request.editlog = editlog.EditLog(request)
-
     from MoinMoin import i18n
     request.i18n = i18n
     i18n.i18n_init(request)