kaori %!s(int64=4) %!d(string=hai) anos
pai
achega
352061d1af
Modificáronse 1 ficheiros con 0 adicións e 11 borrados
  1. 0 11
      packages/app/src/server/models/comment.js

+ 0 - 11
packages/app/src/server/models/comment.js

@@ -97,17 +97,6 @@ module.exports = function(crowi) {
     }
 
     await commentEvent.emit('remove', savedComment);
-
-    /**
-     * TODO: move Activity operation from this model scope by GW-7506
-     */
-    try {
-      const activityLog = await Activity.createByPageComment(savedComment);
-      debug('Activity created', activityLog);
-    }
-    catch (err) {
-      throw err;
-    }
   });
 
   commentSchema.methods.removeWithReplies = async function(comment) {