itizawa 6 년 전
부모
커밋
129f7cffd4
1개의 변경된 파일0개의 추가작업 그리고 5개의 파일을 삭제
  1. 0 5
      src/server/models/user.js

+ 0 - 5
src/server/models/user.js

@@ -667,11 +667,6 @@ module.exports = function(crowi) {
 
   userSchema.statics.sendEmailbyUserList = async function(userList) {
     const mailer = crowi.getMailer();
-
-    if (mailer == null) {
-      return debug('mailer setup is required');
-    }
-
     const appTitle = crowi.appService.getAppTitle();
 
     await Promise.all(userList.map(async(user) => {