diff options
| author | Lester Caine ext:(%22) <lester@lsces.co.uk> | 2012-04-29 12:16:41 +0100 |
|---|---|---|
| committer | Lester Caine ext:(%22) <lester@lsces.co.uk> | 2012-04-29 12:16:41 +0100 |
| commit | 26322d2728a16fcbaa01727b3b705c521c4e3263 (patch) | |
| tree | f5559c137fc5485b2435a65b6dbd2436f8e84702 | |
| parent | 9114f32191a76f0f29c3b332bfb9a15caac3eb1f (diff) | |
| download | articles-26322d2728a16fcbaa01727b3b705c521c4e3263.tar.gz articles-26322d2728a16fcbaa01727b3b705c521c4e3263.tar.bz2 articles-26322d2728a16fcbaa01727b3b705c521c4e3263.zip | |
Strip extra white space
( simply ignoring is causing problems with comment merging )
| -rw-r--r-- | BitArticle.php | 6 | ||||
| -rw-r--r-- | BitArticleTopic.php | 8 | ||||
| -rw-r--r-- | test/TestTikiArticle.php | 10 |
3 files changed, 12 insertions, 12 deletions
diff --git a/BitArticle.php b/BitArticle.php index d291318..f48f64d 100644 --- a/BitArticle.php +++ b/BitArticle.php @@ -317,7 +317,7 @@ class BitArticle extends LibertyMime { if ( array_search( $pParamHash['article_store']['status_id'], array( ARTICLE_STATUS_DENIED, ARTICLE_STATUS_DRAFT, ARTICLE_STATUS_PENDING ) ) ) { $this->mInfo["no_index"] = true ; } - + // if we have an error we get them all by checking parent classes for additional errors if( count( $this->mErrors ) > 0 ){ parent::verify( $pParamHash ); @@ -587,7 +587,7 @@ class BitArticle extends LibertyMime { /** * Get a list of articles that are to be published in the future - * + * * @param array $pParamHash contains listing options - same as getList() * @access public * @return array of articles @@ -599,7 +599,7 @@ class BitArticle extends LibertyMime { /** * Get list of articles that have expired and are not displayed on the site anymore - * + * * @param array $pParamHash contains listing options - same as getList() * @access public * @return array of articles diff --git a/BitArticleTopic.php b/BitArticleTopic.php index 1e9bdcc..e0593e8 100644 --- a/BitArticleTopic.php +++ b/BitArticleTopic.php @@ -2,7 +2,7 @@ /** * @version $Header$ * @package articles - * + * * @copyright Copyright (c) 2004-2006, bitweaver.org * All Rights Reserved. See below for details and a complete list of authors. * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See http://www.gnu.org/copyleft/lesser.html for details. @@ -289,7 +289,7 @@ class BitArticleTopic extends BitBase { /** * Get the name of the article image file - * + * * @param array $pTopicId article id * @access public * @return TRUE on success, FALSE on failure @@ -302,7 +302,7 @@ class BitArticleTopic extends BitBase { return NULL; } } - + global $gBitSystem; return "topic_$pTopicId.".$gBitSystem->getConfig( 'liberty_thumbnail_format', 'jpg' ); } @@ -386,7 +386,7 @@ class BitArticleTopic extends BitBase { /** * Get the name of the article image file - * + * * @param array $pArticleId article id * @access public * @return TRUE on success, FALSE on failure diff --git a/test/TestTikiArticle.php b/test/TestTikiArticle.php index b7b1ad4..e5271bb 100644 --- a/test/TestTikiArticle.php +++ b/test/TestTikiArticle.php @@ -3,11 +3,11 @@ require_once('../../kernel/setup_inc.php'); require_once(ARTICLES_PKG_PATH.'BitArticle.php'); class TestBitArticle extends Test { - + var $test; var $id; var $count; - + function TestBitArticle() { $this->test = new BitArticle(); @@ -46,19 +46,19 @@ class TestBitArticle extends Test { ); Assert::equalsTrue($this->test->store($newItemHash)); } - + function testIsValidItem() { Assert::equalsTrue($this->test->isValid()); } - + function testNullItem() { $this->id = $this->test->mArticleId; $this->test = NULL; Assert::equals($this->test, NULL); } - + function testLoadItem() { $this->test = new BitArticle($this->id); |
