Browse Source

clean code

kaori 4 years ago
parent
commit
4334edd297
1 changed files with 0 additions and 1 deletions
  1. 0 1
      packages/app/src/server/models/activity.ts

+ 0 - 1
packages/app/src/server/models/activity.ts

@@ -203,7 +203,6 @@ activitySchema.methods.getNotificationTargetUsers = async function() {
    * saved hook
    */
 activitySchema.post('save', async(savedActivity: ActivityDocument) => {
-  // const Notification = crowi.model('Notification');
   try {
     const notificationUsers = await savedActivity.getNotificationTargetUsers();