diff --git a/lib/framework/FeaturesService.cpp b/lib/framework/FeaturesService.cpp index 0aa6bd70..2c05ae90 100644 --- a/lib/framework/FeaturesService.cpp +++ b/lib/framework/FeaturesService.cpp @@ -87,13 +87,4 @@ void FeaturesService::addFeature(String feature, bool enabled) newFeature.enabled = enabled; userFeatures.push_back(newFeature); -} - -void FeaturesService::addFeature(String feature, bool enabled) -{ - UserFeature newFeature; - newFeature.feature = feature; - newFeature.enabled = enabled; - - userFeatures.push_back(newFeature); -} +} \ No newline at end of file diff --git a/lib/framework/FeaturesService.h b/lib/framework/FeaturesService.h index a9dc6c29..7f524bd6 100644 --- a/lib/framework/FeaturesService.h +++ b/lib/framework/FeaturesService.h @@ -40,8 +40,6 @@ class FeaturesService void addFeature(String feature, bool enabled); - void addFeature(String feature, bool enabled); - private: PsychicHttpServer *_server; std::vector userFeatures;