summaryrefslogtreecommitdiff
path: root/edit.php
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2007-05-16 16:47:07 +0000
committerwjames5 <will@tekimaki.com>2007-05-16 16:47:07 +0000
commit3162b9059edf6e2fbab2d7d473b09957c79dcd54 (patch)
tree95f008424fdfbdb5b9c4a8ebaaa7c79d45fcbf12 /edit.php
parent68da6a9fc1f5618c248d4689ab2d03afdbccd30a (diff)
downloadblogs-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.php16
1 files changed, 1 insertions, 15 deletions
diff --git a/edit.php b/edit.php
index fb1a4a5..6859d21 100644
--- a/edit.php
+++ b/edit.php
@@ -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');