summaryrefslogtreecommitdiff
path: root/comments_inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'comments_inc.php')
-rw-r--r--comments_inc.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/comments_inc.php b/comments_inc.php
index f9f6398..08bb969 100644
--- a/comments_inc.php
+++ b/comments_inc.php
@@ -48,11 +48,6 @@ if( !$gBitThemes->isJavascriptEnabled() ) {
$gBitSystem->setConfig( 'comments_ajax', 'n' );
}
-if( $gBitSystem->isFeatureActive( 'comments_ajax' ) && !empty( $gContent ) && is_object( $gContent ) && $gContent->isCommentable() ) {
- $gBitSmarty->assign( 'comments_ajax', TRUE );
- $gBitThemes->loadAjax( 'mochikit', array( 'Iter.js', 'DOM.js', 'Style.js', 'Color.js', 'Position.js', 'Visual.js' ));
-}
-
if( @BitBase::verifyId( $_REQUEST['delete_comment_id'] )) {
$deleteComment = new LibertyComment($_REQUEST['delete_comment_id']);
// make sure we're loaded up before we delete