[dokuwiki] Re: New subscription handling

  • From: Julian Knauer <jpk@xxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Tue, 2 Feb 2010 18:26:23 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I don't know if it has been fixed somewhere else already, but I tried use the
current git head (bd6dc08ec192a3ef891b0488f43bf86f95dd621f) of the discussion
plugin with dokuwiki commit f8f3bfb0816ee4940fd5efe295903a0f6b5e03f8.

For me it seems discussion is still using the old function to geht the
subscribtions. Patch attached.


diff --git a/action.php b/action.php
index 9b192bb..1b92ba9 100644
- --- a/action.php
+++ b/action.php
@@ -1103,7 +1103,7 @@ class action_plugin_discussion extends
DokuWiki_Action_Plugin{
 
         // notify page subscribers
         if ($conf['subscribers'] || $conf['notify']) {
- -            $list = explode(',', subscriber_addresslist($ID));
+            $list = explode(',', subscription_addresslist($ID));
             $to   = (!empty($conf['notify'])) ? $conf['notify'] : 
array_pop($list);
             $bcc  = implode(',', $list);
 




- -- 

Julian Knauer

Email : jpk@xxxxxxxxxxx
WWW   : http://wiki.goatpr0n.de
Jabber: jaypikay@xxxxxx
key-id: 0x89E3BCB6

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAktoYD8ACgkQYsx2O4njvLaFxQCePBfbSFMa7WqFlmEYTkiA49F4
IbYAnRv5PEUZA/gd6MrCAW4ufq7bI+5Z
=JwNz
-----END PGP SIGNATURE-----
?.Z)"?¨¥?x%?Ëf¢·¢?ú¶m§ÿðÃh?ì"?*+?ù??X§?X¬

Other related posts: