diff MoinMoin/events/__init__.py @ 2109:b39379ab47d3

Send notifications when page is deleted + some small fixes.
author Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
date Thu, 07 Jun 2007 18:35:51 +0200
parents 645bbc7fe2b5
children f153b3155240
line wrap: on
line diff
--- a/MoinMoin/events/__init__.py	Thu Jun 07 18:09:43 2007 +0200
+++ b/MoinMoin/events/__init__.py	Thu Jun 07 18:35:51 2007 +0200
@@ -43,8 +43,14 @@
         
 class PageRenamedEvent(PageEvent):
     pass
+
+
 class PageDeletedEvent(PageEvent):
-    pass
+    def __init__(self, request, page, comment):
+        PageEvent.__init__(self, request)
+        self.request = request
+        self.page = page
+        self.comment = comment
 
 
 class FileAttachedEvent(PageEvent):