[pmwiki-users] Duplicate email notification

Hans design5 at softflow.co.uk
Wed Feb 13 13:21:33 CST 2008


Wednesday, February 13, 2008, 5:58:51 PM, Petko Yotov wrote:

> Hey wait a minute!! Don't search what changes in PmWiki core would serve your
> recipes, try to adapt your code instead. PmWiki has countless possibilities
> to do this.

Sure. I only tried to find a solution to someone's particular problem
(duplicate notification emails), which  I have not encountered
anywhere else or with anyone else, and which reasons I still fail to
understand fully. I do not know if notify.php in general needs to be
changed, also it seems Pm has an idea now, which will prevent such
isolated problems in future for anyone.

> In the current case: there is yet no need to change notify.php. You can
> instead have in config.php:

> if($action!='foxpost' 
>   && $action!='foxdelete' && $action!='comment')
> {
>         $EnableNotify = 1;
> }

Thanks, very nice! I hope Randy takes note of that, as it will help
ease of upgrading his PmWiki system.



  ~Hans




More information about the pmwiki-users mailing list