From 46e1f52d3ad9042284a80de868f46650271d56c6 Mon Sep 17 00:00:00 2001 From: Simon Backx Date: Fri, 5 Aug 2022 15:39:54 +0200 Subject: [PATCH] Cleaned up debug console log refs https://github.com/TryGhost/Ghost/commit/17a9759cf3cc50cc09a145089476873737f1ba55 --- ghost/core/core/server/models/comment.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/ghost/core/core/server/models/comment.js b/ghost/core/core/server/models/comment.js index 738d7cde92..c19d3ea48f 100644 --- a/ghost/core/core/server/models/comment.js +++ b/ghost/core/core/server/models/comment.js @@ -82,8 +82,6 @@ const Comment = ghostBookshelf.Model.extend({ }) ).trim(); - console.log(html); - if (html.length === 0) { throw new ValidationError({ message: tpl(messages.emptyComment)