[pLog-svn] r919 - plog/trunk/class/summary/action

mark at devel.plogworld.net mark at devel.plogworld.net
Wed Feb 2 10:03:37 GMT 2005


Author: mark
Date: 2005-02-02 10:03:36 +0000 (Wed, 02 Feb 2005)
New Revision: 919

Modified:
   plog/trunk/class/summary/action/doblogregistration.class.php
   plog/trunk/class/summary/action/dofinishregister.class.php
Log:
Fixed registeration error.

Modified: plog/trunk/class/summary/action/doblogregistration.class.php
===================================================================
--- plog/trunk/class/summary/action/doblogregistration.class.php	2005-02-02 07:52:13 UTC (rev 918)
+++ plog/trunk/class/summary/action/doblogregistration.class.php	2005-02-02 10:03:36 UTC (rev 919)
@@ -4,7 +4,6 @@
     include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
     include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
     include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );	 		
-	include_once( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
 	include_once( PLOG_CLASS_PATH."class/summary/view/doblogregistrationview.class.php" );
 	include_once( PLOG_CLASS_PATH."class/summary/view/blogtemplatechooserview.class.php" );
 	include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
@@ -42,9 +41,6 @@
             $this->_view = new BlogTemplateChooserView();
             $this->setValues();
             $this->setCommonData();
-			
-			// reset the summary cache, since there's new information to show
-			CacheControl::resetSummaryCache();
         }
     }
 ?>

Modified: plog/trunk/class/summary/action/dofinishregister.class.php
===================================================================
--- plog/trunk/class/summary/action/dofinishregister.class.php	2005-02-02 07:52:13 UTC (rev 918)
+++ plog/trunk/class/summary/action/dofinishregister.class.php	2005-02-02 10:03:36 UTC (rev 919)
@@ -2,6 +2,7 @@
 
 	include_once( PLOG_CLASS_PATH."class/summary/action/registeraction.class.php" );
 	include_once( PLOG_CLASS_PATH."class/summary/mail/confirmemailmessage.class.php" );
+	include_once( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );	
     include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
     include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
 
@@ -42,6 +43,9 @@
 
 			// let's assume that everything went fine at this point...
             $this->doneRegister();
+            
+            // reset the summary cache, since there's new information to show
+			CacheControl::resetSummaryCache();	            
         }
         //}}}
 




More information about the pLog-svn mailing list