[pLog-svn] r6713 - plog/branches/lifetype-1.2/class/summary/action
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Tue Aug 12 10:49:54 EDT 2008
Author: jondaley
Date: 2008-08-12 10:49:54 -0400 (Tue, 12 Aug 2008)
New Revision: 6713
Modified:
plog/branches/lifetype-1.2/class/summary/action/dofinishregister.class.php
Log:
disable comments on default blogs - helps prevent spam (and matches blog creation code, when created from the admin. See http://forums.lifetype.net/viewtopic.php?f=7&t=9177&p=43147
Modified: plog/branches/lifetype-1.2/class/summary/action/dofinishregister.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/summary/action/dofinishregister.class.php 2008-07-27 21:03:07 UTC (rev 6712)
+++ plog/branches/lifetype-1.2/class/summary/action/dofinishregister.class.php 2008-08-12 14:49:54 UTC (rev 6713)
@@ -204,7 +204,6 @@
"welcome" );
$article->setGlobalCategoryId( $globalArticleCategoryId ); // set the default ArticleGlobalCategory id to article
$article->setDateObject( new Timestamp()); // set it to the current date
- $article->setCommentsEnabled( true ); // enable comments
$article->setInSummary( false ); // no need to see these in the summary!
$articles = new Articles();
$articles->addArticle( $article );
More information about the pLog-svn
mailing list