diff options
| author | spiderr <spider@viovio.com> | 2012-05-02 23:10:58 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2012-05-02 23:10:58 -0400 |
| commit | 41740a5b3c1a1d8242a84db6f0d0e36d1d2429e2 (patch) | |
| tree | 4456a6371588a54d0a56cbd640cd1c28ed4489d8 | |
| parent | d2e76355bc02eb35fd652268efa4f021a411ccf6 (diff) | |
| download | boards-41740a5b3c1a1d8242a84db6f0d0e36d1d2429e2.tar.gz boards-41740a5b3c1a1d8242a84db6f0d0e36d1d2429e2.tar.bz2 boards-41740a5b3c1a1d8242a84db6f0d0e36d1d2429e2.zip | |
replace self:: with static::
| -rw-r--r-- | BitBoardPost.php | 6 | ||||
| -rw-r--r-- | BitBoardTopic.php | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/BitBoardPost.php b/BitBoardPost.php index 7956ec1..05cb630 100644 --- a/BitBoardPost.php +++ b/BitBoardPost.php @@ -321,7 +321,7 @@ class BitBoardPost extends LibertyComment { $row['parsed_data'] = $this->parseData( $row ); $row['level'] = substr_count ( $row['thread_forward_sequence'], '.' ) - 1; $row['topic_id'] = boards_get_topic_comment( $row['thread_forward_sequence'] ); - $row['display_url'] = self::getDisplayUrlFromHash( $row ); + $row['display_url'] = static::getDisplayUrlFromHash( $row ); $c = new LibertyComment(); $c->mInfo=$row; $row['is_editable'] = $c->userCanEdit(); @@ -362,7 +362,7 @@ class BitBoardPost extends LibertyComment { if( $this->isValid() ) { $urlHash['comment_id'] = $this->mCommentId; $urlHash['topic_id'] = $this->getTopicId(); - $ret = self::getDisplayUrlFromHash( $urlHash ); + $ret = static::getDisplayUrlFromHash( $urlHash ); } return $ret; } @@ -375,7 +375,7 @@ class BitBoardPost extends LibertyComment { global $gBitSystem; $ret = NULL; - if( self::verifyId( $pParamHash['comment_id'] ) ) { + if( static::verifyId( $pParamHash['comment_id'] ) ) { if( $gBitSystem->isFeatureActive( 'pretty_urls' ) || $gBitSystem->isFeatureActive( 'pretty_urls_extended' ) ) { $rewrite_tag = $gBitSystem->isFeatureActive( 'pretty_urls_extended' ) ? 'view/':''; $ret = BOARDS_PKG_URL.$rewrite_tag."topic/".$pParamHash['topic_id']; diff --git a/BitBoardTopic.php b/BitBoardTopic.php index 83c40ab..c9097ce 100644 --- a/BitBoardTopic.php +++ b/BitBoardTopic.php @@ -497,7 +497,7 @@ class BitBoardTopic extends LibertyMime { global $gBitSystem; $ret = NULL; - if( self::verifyId( $pParamHash['topic_id'] ) ) { + if( static::verifyId( $pParamHash['topic_id'] ) ) { if( $gBitSystem->isFeatureActive( 'pretty_urls' ) || $gBitSystem->isFeatureActive( 'pretty_urls_extended' ) ) { $rewrite_tag = $gBitSystem->isFeatureActive( 'pretty_urls_extended' ) ? 'view/':''; $ret = BOARDS_PKG_URL.$rewrite_tag."topic/".$pParamHash['topic_id']; |
