diff options
| author | wjames5 <will@tekimaki.com> | 2007-05-16 16:47:07 +0000 |
|---|---|---|
| committer | wjames5 <will@tekimaki.com> | 2007-05-16 16:47:07 +0000 |
| commit | 3162b9059edf6e2fbab2d7d473b09957c79dcd54 (patch) | |
| tree | 95f008424fdfbdb5b9c4a8ebaaa7c79d45fcbf12 /print_blog_post.php | |
| parent | 68da6a9fc1f5618c248d4689ab2d03afdbccd30a (diff) | |
| download | blogs-3162b9059edf6e2fbab2d7d473b09957c79dcd54.tar.gz blogs-3162b9059edf6e2fbab2d7d473b09957c79dcd54.tar.bz2 blogs-3162b9059edf6e2fbab2d7d473b09957c79dcd54.zip | |
remove all commented out depricated category crap and depricated blogid stuff that is no longer necessary
Diffstat (limited to 'print_blog_post.php')
| -rw-r--r-- | print_blog_post.php | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/print_blog_post.php b/print_blog_post.php index 91cf351..40d1855 100644 --- a/print_blog_post.php +++ b/print_blog_post.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_blogs/print_blog_post.php,v 1.15 2007/04/23 09:36:30 squareing Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_blogs/print_blog_post.php,v 1.16 2007/05/16 16:47:07 wjames5 Exp $ * @package blogs * @subpackage functions @@ -14,8 +14,6 @@ */ require_once( '../bit_setup_inc.php' ); -//DEPRICATED - we do everything by post id without blog reference now - see URI note below if wanting to add option in -wjames5 -//include_once( BLOGS_PKG_PATH.'BitBlog.php' ); include_once( BLOGS_PKG_PATH.'BitBlogPost.php' ); $gBitSystem->verifyPackage( 'blogs' ); @@ -59,14 +57,6 @@ $gBitSmarty->assign( 'parsed_data', $gContent->parseData() ); $gBitSystem->verifyPermission( 'p_blogs_view' ); -/*DEPRECATED - blog_user_id does not exist ownsblog is not even used in print_blog_post.tpl -$ownsblog = 'n'; -if ($gBitUser->mUserId && $gBitUser->mUserId == $gContent->mInfo['blog_user_id'] ) { - $ownsblog = 'y'; -} -$gBitSmarty->assign('ownsblog', $ownsblog); -*/ - if ($gBitSystem->isFeatureActive( 'blog_posts_comments' )) { $comments_return_url = $_SERVER['PHP_SELF']."?post_id=".$gContent->getField( 'post_id' ); $commentsParentId = $gContent->mContentId; |
