[pLog-svn] r4530 - plugins/branches/lifetype-1.1/secret/class/security

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Thu Jan 11 00:59:02 GMT 2007


Author: jondaley
Date: 2007-01-11 00:59:01 +0000 (Thu, 11 Jan 2007)
New Revision: 4530

Modified:
   plugins/branches/lifetype-1.1/secret/class/security/secretitemfilter.class.php
Log:
just spacing to make it fit in 80 columns

Modified: plugins/branches/lifetype-1.1/secret/class/security/secretitemfilter.class.php
===================================================================
--- plugins/branches/lifetype-1.1/secret/class/security/secretitemfilter.class.php	2007-01-11 00:52:12 UTC (rev 4529)
+++ plugins/branches/lifetype-1.1/secret/class/security/secretitemfilter.class.php	2007-01-11 00:59:01 UTC (rev 4530)
@@ -71,7 +71,8 @@
                 // If categoryName available, use it to find categoryId
                 if( $categoryName ) {
                     $categories =& new ArticleCategories();
-                    $category = $categories->getCategoryByName( $categoryName, $blogInfo->getId());
+                    $category = $categories->getCategoryByName($categoryName,
+                                                               $blogInfo->getId());
                     if( !$category ) {
                         return new PipelineResult();
                     }
@@ -80,10 +81,12 @@
                 }
         
                 // fetch the article
-                // the article identifier can be either its internal id number or its mangled topic
+                // the article identifier can be either its internal id number
+                // or its mangled topic
                 $articles =& new Articles();
-                $article  = $articles->getBlogArticleByTitle( $articleName, $blogInfo->getId(), false,
-                                                              $date, $categoryId, $userId, POST_STATUS_PUBLISHED );
+                $article  = $articles->getBlogArticleByTitle( $articleName, $blogInfo->getId(),
+                                                              false, $date, $categoryId,
+                                                              $userId, POST_STATUS_PUBLISHED );
 
                 if( $article ) {
                     $articleId = $article->getId();
@@ -125,7 +128,8 @@
                     $result = new PipelineResult( false, 500, "Better luck next time!" );
                 }
                 else {
-                        // if the user authenticated correctly, then put the information in the session
+                        // if the user authenticated correctly, then put the
+                        // information in the session
                     $session = HttpVars::getSession();
                     $session[ "$sessionKey" ] = md5( $itemPassword );
                     $result = new PipelineResult( true );



More information about the pLog-svn mailing list