From 42cb88d354c2fbcf8c0a8f0ef38430182a571597 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Mon, 29 Aug 2022 10:14:26 +0200 Subject: [PATCH] #1396 issues --- app/models/dmsf_query.rb | 1 - lib/tasks/dmsf_convert_documents.rake | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/models/dmsf_query.rb b/app/models/dmsf_query.rb index 74de77cf..15525e24 100644 --- a/app/models/dmsf_query.rb +++ b/app/models/dmsf_query.rb @@ -96,7 +96,6 @@ class DmsfQuery < Query # Returns the issue count def dmsf_count - Rails.logger.info ">>> #{base_scope.where(statement).to_sql}" base_scope.where(statement).count rescue ::ActiveRecord::StatementInvalid => e raise StatementInvalid.new e.message diff --git a/lib/tasks/dmsf_convert_documents.rake b/lib/tasks/dmsf_convert_documents.rake index cf58e167..bc6d36fd 100644 --- a/lib/tasks/dmsf_convert_documents.rake +++ b/lib/tasks/dmsf_convert_documents.rake @@ -58,7 +58,7 @@ class DmsfConvertDocuments convert_issues(project) if (@issues && project.module_enabled?('issue_tracking')) end else - STDERR.puts 'No project(s) with Documents module enabled found.' + STDERR.puts 'No active projects found.' end end