CLOUD: Remove unused removePathHandler(), make addPathHandler() private

This commit is contained in:
Peter Bozsó 2016-07-26 19:30:44 +02:00 committed by Alexander Tkachev
parent 9665719b66
commit b68bd78b44
2 changed files with 1 additions and 8 deletions

View file

@ -153,12 +153,6 @@ void LocalWebserver::addPathHandler(Common::String path, ClientHandlerCallback h
_pathHandlers[path] = handler;
}
void LocalWebserver::removePathHandler(Common::String path) {
if (!_pathHandlers.contains(path))
warning("LocalWebserver::removePathHandler: no handler known for this path");
_pathHandlers.erase(path);
}
Common::String LocalWebserver::getAddress() { return _address; }
IndexPageHandler &LocalWebserver::indexPageHandler() { return _indexPageHandler; }