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

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Wed Aug 22 17:13:34 EDT 2007


Author: jondaley
Date: 2007-08-22 17:13:34 -0400 (Wed, 22 Aug 2007)
New Revision: 5864

Modified:
   plog/branches/lifetype-1.2/class/action/admin/adminaddpostaction.class.php
   plog/branches/lifetype-1.2/class/action/admin/adminupdatepostaction.class.php
Log:
since I am on a stripslash rampage, I'll remove these two.  I can't think of any reason why this would be needed here.

Modified: plog/branches/lifetype-1.2/class/action/admin/adminaddpostaction.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/action/admin/adminaddpostaction.class.php	2007-08-22 21:12:58 UTC (rev 5863)
+++ plog/branches/lifetype-1.2/class/action/admin/adminaddpostaction.class.php	2007-08-22 21:13:34 UTC (rev 5864)
@@ -187,7 +187,7 @@
                         lt_include( PLOG_CLASS_PATH."class/data/stringutils.class.php" );
 
                     	// get the links from the text of the post
-        				$postLinks = StringUtils::getLinks( stripslashes($article->getText()));
+        				$postLinks = StringUtils::getLinks( $article->getText());
 
 		                // get the real trackback links from trackbackUrls
 		                $trackbackLinks = Array();

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 21:12:58 UTC (rev 5863)
+++ plog/branches/lifetype-1.2/class/action/admin/adminupdatepostaction.class.php	2007-08-22 21:13:34 UTC (rev 5864)
@@ -178,8 +178,7 @@
                 // when a post is "published"
 			if( $post->getStatus() == POST_STATUS_PUBLISHED ) {
 				// get the links from the text of the post
-                $postLinks = StringUtils::getLinks(
-                    stripslashes($post->getText()));
+                $postLinks = StringUtils::getLinks($post->getText());
 
                 // get the real trackback links from trackbackUrls
                 $trackbackLinks = Array();



More information about the pLog-svn mailing list