From: <var...@us...> - 2009-08-04 12:55:05
|
Revision: 7052 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7052&view=rev Author: vargenau Date: 2009-08-04 12:54:57 +0000 (Tue, 04 Aug 2009) Log Message: ----------- Be silent by default Modified Paths: -------------- trunk/lib/MailNotify.php Modified: trunk/lib/MailNotify.php =================================================================== --- trunk/lib/MailNotify.php 2009-07-31 20:12:11 UTC (rev 7051) +++ trunk/lib/MailNotify.php 2009-08-04 12:54:57 UTC (rev 7052) @@ -176,13 +176,11 @@ return array($this->emails, $this->userids); } - function sendMail($subject, $content, + function sendMail($subject, + $content, $notice = false, - $silent = 0) + $silent = true) { - global $request; - if (!DEBUG and $silent === 0) - $silent = true; $emails = $this->emails; $from = $this->from; // Do not send if modification is from Gforge admin This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |