itizawa 6 năm trước cách đây
mục cha
commit
129f7cffd4
1 tập tin đã thay đổi với 0 bổ sung5 xóa
  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) => {