[pLog-svn] r6641 - plog/branches/lifetype-1.2/class/summary/action

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Sat Jun 21 16:46:52 EDT 2008


Author: jondaley
Date: 2008-06-21 16:46:52 -0400 (Sat, 21 Jun 2008)
New Revision: 6641

Modified:
   plog/branches/lifetype-1.2/class/summary/action/chooseblogtemplateaction.class.php
Log:
Probably templatename validator didn't exist when this was written.  Removed unused include

Modified: plog/branches/lifetype-1.2/class/summary/action/chooseblogtemplateaction.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/summary/action/chooseblogtemplateaction.class.php	2008-06-21 20:46:29 UTC (rev 6640)
+++ plog/branches/lifetype-1.2/class/summary/action/chooseblogtemplateaction.class.php	2008-06-21 20:46:52 UTC (rev 6641)
@@ -1,8 +1,7 @@
 <?php
 
 	lt_include( PLOG_CLASS_PATH."class/summary/action/registeraction.class.php" );
-
-    lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/data/validator/templatenamevalidator.class.php" );
     lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
     lt_include( PLOG_CLASS_PATH."class/summary/view/summaryview.class.php" );
 
@@ -17,7 +16,7 @@
         {
         	$this->RegisterAction( $actionInfo, $request );
         	
-        	$this->registerFieldValidator( "templateId", new StringValidator());
+        	$this->registerFieldValidator( "templateId", new TemplateNameValidator());
         	$this->setValidationErrorView( new BlogTemplateChooserView());
         }
 



More information about the pLog-svn mailing list