Senph::Model::Comment
sub _do_create { my ( $self, $site, $topic, $reply_to, $comment_data ) = @_; if ( !$topic->allow_comments || !$site->global_allow_comments ) { Senph::X::Forbidden->throw( { ident => 'create-comments-disabled', message => 'New comments are not accepted here', } ); }