Merge pull request #1728 from thelounge/astorije/rm-autoload-deprecation

Remove autoload deprecation notice
This commit is contained in:
Pavel Djundik 2018-02-19 18:50:51 +02:00 committed by GitHub
commit a145b8e27c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,11 +20,6 @@ ClientManager.prototype.init = function(identHandler, sockets) {
this.webPush = new WebPush();
if (!Helper.config.public && !Helper.config.ldap.enable) {
// TODO: Remove deprecated warning in v3.0.0
if ("autoload" in Helper.config) {
log.warn(`Autoloading users is now always enabled. Please remove the ${colors.yellow("autoload")} option from your configuration file.`);
}
this.autoloadUsers();
}
};