scripts/wiki/patches/moin-hide-notifications.patch
Daniel STAN 823845059e [wiki/patches] On cache les personnes notifiées
Ignore-this: ce781c3edf967da9e3056f8891b52bb9

darcs-hash:20120705155402-28565-9186c71fe30094156c63e56c27ba4d2ad9ff3040.gz
2012-07-05 17:54:02 +02:00

28 lines
1.3 KiB
Diff

diff -urN a/MoinMoin/PageEditor.py b/MoinMoin/PageEditor.py
--- a/MoinMoin/PageEditor.py 2012-07-05 17:27:11.000000000 +0200
+++ b/MoinMoin/PageEditor.py 2012-07-05 17:26:52.000000000 +0200
@@ -1147,14 +1147,16 @@
e = events.PageChangedEvent(self.request, self, comment)
results = events.send_event(e)
- recipients = set()
- for result in results:
- if isinstance(result, notification.Success):
- recipients.update(result.recipients)
-
- if recipients:
- info = _("Notifications sent to:")
- msg = msg + "<p>%s %s</p>" % (info, ", ".join(recipients))
+# #Hack Cr@ns, cachez-moi:
+# #Listes des personnes notifiées
+# recipients = set()
+# for result in results:
+# if isinstance(result, notification.Success):
+# recipients.update(result.recipients)
+#
+# if recipients:
+# info = _("Notifications sent to:")
+# msg = msg + "<p>%s %s</p>" % (info, ", ".join(recipients))
# Update page trail with the page we just saved.
# This is needed for NewPage macro with backto because it does not