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 /edit.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 'edit.php')
| -rw-r--r-- | edit.php | 16 |
1 files changed, 1 insertions, 15 deletions
@@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_blogs/edit.php,v 1.26 2007/04/20 11:03:11 nickpalmer Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_blogs/edit.php,v 1.27 2007/05/16 16:47:06 wjames5 Exp $ * @package blogs * @subpackage functions */ @@ -31,16 +31,6 @@ if (!isset($last_modified)) { $gBitSmarty->assign_by_ref('heading', $heading); -/* DEPRECATED slated for removal -wjames5 -if( $gBlog->isValid() ) { - $gContent = &$gContent; // make a reference so services work correctly - $_REQUEST['content_id'] = $gBlog->mContentId; - if( !$gBlog->hasEditPermission() ) { - $gBitSystem->verifyPermission( 'p_blogs_admin', "Permission denied you cannot edit this blog" ); - } -} -*/ - if( $gContent->isValid() ) { $_REQUEST['content_id'] = $gContent->mContentId; if( !$gContent->hasEditPermission() ) { @@ -61,10 +51,6 @@ if (isset($_REQUEST['preview'])) { $gBitSmarty->assign('parsed', $gContent->parseData( $_REQUEST["edit"], $_REQUEST["format_guid"])); $gBitSmarty->assign('user_name', $gBitUser->getDisplayName()); $gBitSmarty->assign('created', $gBitSystem->getUTCTime()); - -//DEPRECATED - slated for removal -// $gBitSmarty->assign('public_blog', isset($_REQUEST["public_blog"]) ? 'y' : 'n'); - $gBitSmarty->assign('use_find', isset($_REQUEST["use_find"]) ? 'y' : 'n'); $gBitSmarty->assign('use_title', isset($_REQUEST["use_title"]) ? 'y' : 'n'); $gBitSmarty->assign('allow_comments', isset($_REQUEST["allow_comments"]) ? 'y' : 'n'); |
