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

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Wed Aug 22 16:06:44 EDT 2007


Author: jondaley
Date: 2007-08-22 16:06:44 -0400 (Wed, 22 Aug 2007)
New Revision: 5857

Modified:
   plog/branches/lifetype-1.2/class/action/admin/adminupdatepostaction.class.php
Log:
strange.  I think some of this used to be commented.  Anyway, there is unused code here

Modified: plog/branches/lifetype-1.2/class/action/admin/adminupdatepostaction.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/action/admin/adminupdatepostaction.class.php	2007-08-22 19:28:12 UTC (rev 5856)
+++ plog/branches/lifetype-1.2/class/action/admin/adminupdatepostaction.class.php	2007-08-22 20:06:44 UTC (rev 5857)
@@ -106,11 +106,8 @@
             }
 
              // if we got it, update some fields
-            $post->setTopic( stripslashes($this->_postTopic));
-            $postText = $this->_postText;
-            $post->setText( stripslashes($postText));
             $post->setTopic( $this->_postTopic );
-            $post->setText( $postText );
+            $post->setText( $this->_postText );
             $post->setCategoryIds( $this->_postCategories );
             $post->setStatus( $this->_postStatus );
             $post->setDateObject( $this->_postTimestamp );



More information about the pLog-svn mailing list