diff --git a/code/Commenting.php b/code/Commenting.php index e2d7b07..db86570 100644 --- a/code/Commenting.php +++ b/code/Commenting.php @@ -23,15 +23,15 @@ class Commenting { * @var array default configuration values */ private static $default_config = array( - 'require_login' => false, // boolean, whether a user needs to login - 'required_permission' => false, // required permission to comment (or array of permissions) - 'use_ajax_commenting' => true, // use ajax to post comments. - 'show_comments_when_disabled' => false, // when comments are disabled should we show older comments (if available) - 'order_comments_by' => "\"Created\" DESC", - 'comments_per_page' => 10, - 'comments_holder_id' => "comments-holder", // id for the comments holder - 'comment_permalink_prefix' => "comment-", // id prefix for each comment. If needed make this different - 'require_moderation' => false + 'require_login' => false, // boolean, whether a user needs to login + 'required_permission' => false, // required permission to comment (or array of permissions) + 'use_ajax_commenting' => true, // use ajax to post comments. + 'show_comments_when_disabled' => false, // when comments are disabled should we show older comments (if available) + 'order_comments_by' => "\"Created\" DESC", + 'comments_per_page' => 10, + 'comments_holder_id' => "comments-holder", // id for the comments holder + 'comment_permalink_prefix' => "comment-", // id prefix for each comment. If needed make this different + 'require_moderation' => false ); /** diff --git a/code/extensions/CommentsExtension.php b/code/extensions/CommentsExtension.php index 5e0dbb3..deb5db0 100644 --- a/code/extensions/CommentsExtension.php +++ b/code/extensions/CommentsExtension.php @@ -88,7 +88,6 @@ class CommentsExtension extends DataObjectDecorator { $form = ($enabled) ? $controller->CommentsForm() : false; - Debug::show(Controller::curr()->ID); // a little bit all over the show but to ensure a slightly easier upgrade for users // return back the same variables as previously done in comments return $interface->process(new ArrayData(array(