public function delete_report($id) { $comment_report = new Comment_report($id); $comment_report->delete(); redirect(base_url('/admin/module/blog/show_objects/comment_report'), 'location'); }