|
@@ -69,7 +69,6 @@ function Crowi() {
|
|
|
this.interceptorManager = new InterceptorManager();
|
|
this.interceptorManager = new InterceptorManager();
|
|
|
this.slackIntegrationService = null;
|
|
this.slackIntegrationService = null;
|
|
|
this.inAppNotificationService = null;
|
|
this.inAppNotificationService = null;
|
|
|
- this.inAppNotificationSettingsService = null;
|
|
|
|
|
this.activityService = null;
|
|
this.activityService = null;
|
|
|
this.commentService = null;
|
|
this.commentService = null;
|
|
|
this.xss = new Xss();
|
|
this.xss = new Xss();
|
|
@@ -130,7 +129,6 @@ Crowi.prototype.init = async function() {
|
|
|
this.setupImport(),
|
|
this.setupImport(),
|
|
|
this.setupPageService(),
|
|
this.setupPageService(),
|
|
|
this.setupInAppNotificationService(),
|
|
this.setupInAppNotificationService(),
|
|
|
- this.setupInAppNotificationSettingsService(),
|
|
|
|
|
this.setupActivityService(),
|
|
this.setupActivityService(),
|
|
|
this.setupCommentService(),
|
|
this.setupCommentService(),
|
|
|
this.setupSyncPageStatusService(),
|
|
this.setupSyncPageStatusService(),
|
|
@@ -688,13 +686,6 @@ Crowi.prototype.setupInAppNotificationService = async function() {
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-Crowi.prototype.setupInAppNotificationSettingsService = async function() {
|
|
|
|
|
- const InAppNotificationSettingsService = require('../service/in-app-notification-settings');
|
|
|
|
|
- if (this.inAppNotificationSettingsService == null) {
|
|
|
|
|
- this.inAppNotificationSettingsService = new InAppNotificationSettingsService(this);
|
|
|
|
|
- }
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
Crowi.prototype.setupActivityService = async function() {
|
|
Crowi.prototype.setupActivityService = async function() {
|
|
|
const ActivityService = require('../service/activity');
|
|
const ActivityService = require('../service/activity');
|
|
|
if (this.activityService == null) {
|
|
if (this.activityService == null) {
|