From 84993bb33f4cca6e704a85b2e1af0ad8ca7be437 Mon Sep 17 00:00:00 2001 From: rurban Date: Tue, 1 May 2007 16:20:12 +0000 Subject: [PATCH] MailNotify->onChangePage only on DEBUG (still broken) git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@5664 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/WikiDB.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/WikiDB.php b/lib/WikiDB.php index 58d25b951..6eae6e74c 100644 --- a/lib/WikiDB.php +++ b/lib/WikiDB.php @@ -1,5 +1,5 @@ getName()); // FIXME: this breaks after-edit-redirect - $MailNotify->onChangePage ($this->_wikidb, $wikitext, $version, $meta); + if (DEBUG) + $MailNotify->onChangePage ($this->_wikidb, $wikitext, $version, $meta); } $newrevision->_transformedContent = $formatted; } @@ -2196,6 +2197,9 @@ function _sql_debuglog_shutdown_function() { } // $Log: not supported by cvs2svn $ +// Revision 1.150 2007/03/18 17:35:27 rurban +// Improve comments +// // Revision 1.149 2007/02/17 14:16:37 rurban // isWikiPage no error on empty pagenames. MailNotify->onChangePage fix by ?? // -- 2.45.2