Re: [phpwiki-checkins] SF.net SVN: phpwiki:[6598] trunk/lib/MailNotify.php

Reini Urban <[email protected]> Fri, 27 Feb 2009 17:51:36 +0100
Newsgroups gmane.comp.web.wiki.phpwiki.talk
Message-ID <[email protected]>
2009/2/27  <[email protected]>:
> Revision: 6598
>          http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6598&view=rev
> Author:   vargenau
> Date:     2009-02-27 12:54:19 +0000 (Fri, 27 Feb 2009)
>
> Log Message:
> -----------
> Disable verification of emails for corporate env.

Good.
Sending emails should be disabled for certain environments.
But we already have this key: ENABLE_MAILNOTIFY = false

Please use this instead.

> +        // Disable verification of emails for corporate env.
> +        if (defined('GFORGE') and GFORGE) {
> +            $doverify = false;
> +        }

-- 
Reini Urban
http://phpwiki.org/              http://murbreak.at/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H