CVS update: /cowiki/includes/cowiki/plugin/

[email protected] 12 Sep 2005 20:05:52 -0000
Newsgroups gmane.comp.php.cowiki.cvs
Message-ID <[email protected]>
User: dgorski 
Date: 2005/09/12 13:05:52

Modified:
   cowiki/includes/cowiki/plugin/class.PrivateFrontDocumentEditor.php

Log:
 Honour the configuration [RUNTIME] RSS_FEED_RECENT setting while saving a document

File Changes:

Directory: /cowiki/includes/cowiki/plugin/
==========================================

File [changed]: class.PrivateFrontDocumentEditor.php
Url: http://cowiki.tigris.org/source/browse/cowiki/includes/cowiki/plugin/class.PrivateFrontDocumentEditor.php?r1=1.33&r2=1.34
Delta lines:  +5 -3
-------------------
--- class.PrivateFrontDocumentEditor.php	27 Feb 2005 20:35:10 -0000	1.33
+++ class.PrivateFrontDocumentEditor.php	12 Sep 2005 20:05:50 -0000	1.34
@@ -2,7 +2,7 @@
 
 /**
  *
- * $Id: class.PrivateFrontDocumentEditor.php,v 1.33 2005/02/27 20:35:10 dgorski Exp $
+ * $Id: class.PrivateFrontDocumentEditor.php,v 1.34 2005/09/12 20:05:50 dgorski Exp $
  *
  * This file is part of coWiki. coWiki is free software under the terms of
  * the GNU General Public License (GPL). Read the LICENSE file. If you did
@@ -31,7 +31,7 @@
  * @author      Daniel T. Gorski, <[email protected]>
  * @copyright   (C) Daniel T. Gorski, {@link http://www.develnet.org}
  * @license     http://www.gnu.org/licenses/gpl.html
- * @version     $Revision: 1.33 $
+ * @version     $Revision: 1.34 $
  *
  */
 
@@ -282,7 +282,9 @@
                     }
 
                     // Generate a RSS feed file(s)
+                    if ($this->Registry->get('RUNTIME_RSS_FEED_RECENT')) {
                     RssManager::writeFeed('recent.rdf');
+                    }
 
                     // {{{ DEBUG }}}
                     Logger::info('Redirecting to controller (SAVE)');