diff --git a/assets/javascripts/discourse/controllers/admin-wizards-notices.js.es6 b/assets/javascripts/discourse/controllers/admin-wizards-notices.js.es6 index 06c61054..1721e699 100644 --- a/assets/javascripts/discourse/controllers/admin-wizards-notices.js.es6 +++ b/assets/javascripts/discourse/controllers/admin-wizards-notices.js.es6 @@ -29,7 +29,6 @@ export default Controller.extend({ CustomWizardNotice.list({ page, include_all: true }) .then((result) => { - console.log('loadMoreNotices result', result); if (result.notices.length === 0) { this.set("canLoadMore", false); return; diff --git a/assets/javascripts/discourse/controllers/admin-wizards.js.es6 b/assets/javascripts/discourse/controllers/admin-wizards.js.es6 index 15a98525..33841460 100644 --- a/assets/javascripts/discourse/controllers/admin-wizards.js.es6 +++ b/assets/javascripts/discourse/controllers/admin-wizards.js.es6 @@ -14,7 +14,6 @@ export default Controller.extend({ this.messageBus.subscribe("/custom-wizard/notices", (data) => { if (isPresent(data.active_notice_count)) { this.set("activeNoticeCount", data.active_notice_count); - console.log('adminWizards resetting'); this.adminWizardsNotices.setProperties({ notices: A(), page: 0, diff --git a/lib/custom_wizard/notice.rb b/lib/custom_wizard/notice.rb index 6f5c3045..abd27559 100644 --- a/lib/custom_wizard/notice.rb +++ b/lib/custom_wizard/notice.rb @@ -159,9 +159,9 @@ class CustomWizard::Notice notice.retrieved_at = DateTime.now.iso8601(3) notice.save end - - publish_notice_count end + + publish_notice_count end def self.publish_notice_count @@ -233,8 +233,6 @@ class CustomWizard::Notice ) notice.save end - - publish_notice_count end def self.request_plugin_status?