[pLog-svn] r6576 - plog/branches/lifetype-1.2/class/action/admin

mark at devel.lifetype.net mark at devel.lifetype.net
Thu Jun 19 01:34:35 EDT 2008


Author: mark
Date: 2008-06-19 01:34:35 -0400 (Thu, 19 Jun 2008)
New Revision: 6576

Modified:
   plog/branches/lifetype-1.2/class/action/admin/admineditpostsaction.class.php
Log:
We don't need the registerFieldValidator() there, these values will set to default if in-valid in validate() function.

Modified: plog/branches/lifetype-1.2/class/action/admin/admineditpostsaction.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/action/admin/admineditpostsaction.class.php	2008-06-19 05:29:46 UTC (rev 6575)
+++ plog/branches/lifetype-1.2/class/action/admin/admineditpostsaction.class.php	2008-06-19 05:34:35 UTC (rev 6576)
@@ -21,12 +21,6 @@
         {
         	$this->AdminAction( $actionInfo, $request );
 
-			// field validation
-			$this->registerFieldValidator( "showCategory", new IntegerValidator( true ));
-			$this->registerFieldValidator( "showStatus", new IntegerValidator( true ));
-			$this->registerFieldValidator( "showUser", new IntegerValidator());
-			$this->registerFieldValidator( "showMonth", new IntegerValidator( true ));
-
 			$this->requirePermission( "view_posts" );
         }
 



More information about the pLog-svn mailing list