Daisuke Takahashi 6 лет назад
Родитель
Сommit
e27d677e68
1 измененных файлов с 0 добавлено и 5 удалено
  1. 0 5
      src/server/models/config.js

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

@@ -347,11 +347,6 @@ module.exports = function(crowi) {
     return getValueForCrowiNS(config, key);
   };
 
-  configSchema.statics.isSameUsernameTreatedAsIdenticalUser = function(config, providerType) {
-    const key = `security:passport-${providerType}:isSameUsernameTreatedAsIdenticalUser`;
-    return getValueForCrowiNS(config, key);
-  };
-
   configSchema.statics.isUploadable = function(config) {
     const method = process.env.FILE_UPLOAD || 'aws';