mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Clean up.
This commit is contained in:
parent
f484c6742c
commit
6633870cc9
4 changed files with 9 additions and 5 deletions
|
@ -1327,10 +1327,7 @@ function CreateMeshCentralServer(config, args) {
|
|||
// Setup SMS gateway
|
||||
if (config.sms != null) {
|
||||
obj.smsserver = require('./meshsms.js').CreateMeshSMS(obj);
|
||||
if (obj.smsserver != null) {
|
||||
//obj.smsserver.verify();
|
||||
if (obj.args.lanonly == true) { addServerWarning("SMS gateway has limited use in LAN mode."); }
|
||||
}
|
||||
if ((obj.smsserver != null) && (obj.args.lanonly == true)) { addServerWarning("SMS gateway has limited use in LAN mode."); }
|
||||
}
|
||||
|
||||
// Start periodic maintenance
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue