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

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Sat Jun 14 13:53:40 EDT 2008


Author: jondaley
Date: 2008-06-14 13:53:40 -0400 (Sat, 14 Jun 2008)
New Revision: 6544

Modified:
   plog/branches/lifetype-1.2/class/action/admin/adminpostmanagementcommonaction.class.php
   plog/branches/lifetype-1.2/class/action/admin/adminupdatepostaction.class.php
Log:
removed unneeded stuff

Modified: plog/branches/lifetype-1.2/class/action/admin/adminpostmanagementcommonaction.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/action/admin/adminpostmanagementcommonaction.class.php	2008-06-14 17:14:57 UTC (rev 6543)
+++ plog/branches/lifetype-1.2/class/action/admin/adminpostmanagementcommonaction.class.php	2008-06-14 17:53:40 UTC (rev 6544)
@@ -65,18 +65,14 @@
         	$this->registerField( "sendNotification" );
         	$this->registerField( "sendTrackbacks" );
         	$this->registerField( "sendPings" );
-        	$this->registerField( "postId" );
         	$this->registerField( "commentsEnabled" );
         	$this->registerField( "customField" );
-
         	$this->registerField( "trackbackUrls" );
-			$this->registerField( "postUser" );   	
+            $this->registerField( "postUser" );   	
 		}
 		
 		function _fetchPostDateInformation()
 		{
-
-            // TODO: this needs to be validated
             // fetch the timestamp that the post will have
           	$postDateTime = $this->_request->getValue( "postDateTime" );
             $dateTimeParts = explode(" ", $postDateTime);

Modified: plog/branches/lifetype-1.2/class/action/admin/adminupdatepostaction.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/action/admin/adminupdatepostaction.class.php	2008-06-14 17:14:57 UTC (rev 6543)
+++ plog/branches/lifetype-1.2/class/action/admin/adminupdatepostaction.class.php	2008-06-14 17:53:40 UTC (rev 6544)
@@ -31,8 +31,6 @@
         {
         	$this->AdminPostManagementCommonAction( $actionInfo, $request );
 
-        	$this->registerFieldValidator( "postId", new IntegerValidator());
-
         	$view = new AdminEditPostView( $this->_blogInfo );
         	$view->setErrorMessage( $this->_locale->tr("error_updating_post"));
         	$this->setValidationErrorView( $view );



More information about the pLog-svn mailing list