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) => {