Remove team and provision set_config

This commit is contained in:
Sacha Weatherstone
2022-05-02 08:35:31 +10:00
parent 057131b459
commit 3a1f20821e
5 changed files with 24 additions and 72 deletions

View File

@@ -277,11 +277,6 @@ void AdminModule::handleSetOwner(const User &o)
owner.is_licensed = o.is_licensed;
}
if ((!changed || o.team) && (owner.team != o.team)) {
changed = 1;
owner.team = o.team;
}
if (changed) // If nothing really changed, don't broadcast on the network or write to flash
service.reloadOwner();
}