From 758007ea3ff809944f9ed4685c74e7eaff0f813b Mon Sep 17 00:00:00 2001 From: Hemna Date: Thu, 3 Oct 2024 10:34:35 -0700 Subject: [PATCH] Removed remnants of QueryPlugin QueryPlugin was removed a while back after the stats rework. This patch removes the config options for the Query plugin --- aprsd/conf/common.py | 1 - aprsd/conf/plugin_common.py | 9 --------- aprsd/plugin.py | 1 - 3 files changed, 11 deletions(-) diff --git a/aprsd/conf/common.py b/aprsd/conf/common.py index 89725b4..07d69cc 100644 --- a/aprsd/conf/common.py +++ b/aprsd/conf/common.py @@ -205,7 +205,6 @@ enabled_plugins_opts = [ "aprsd.plugins.fortune.FortunePlugin", "aprsd.plugins.location.LocationPlugin", "aprsd.plugins.ping.PingPlugin", - "aprsd.plugins.query.QueryPlugin", "aprsd.plugins.time.TimePlugin", "aprsd.plugins.weather.OWMWeatherPlugin", "aprsd.plugins.version.VersionPlugin", diff --git a/aprsd/conf/plugin_common.py b/aprsd/conf/plugin_common.py index 778cf17..b1d96e3 100644 --- a/aprsd/conf/plugin_common.py +++ b/aprsd/conf/plugin_common.py @@ -31,13 +31,6 @@ aprsfi_opts = [ ), ] -query_plugin_opts = [ - cfg.StrOpt( - "callsign", - help="The Ham callsign to allow access to the query plugin from RF.", - ), -] - owm_wx_opts = [ cfg.StrOpt( "apiKey", @@ -172,7 +165,6 @@ def register_opts(config): config.register_group(aprsfi_group) config.register_opts(aprsfi_opts, group=aprsfi_group) config.register_group(query_group) - config.register_opts(query_plugin_opts, group=query_group) config.register_group(owm_wx_group) config.register_opts(owm_wx_opts, group=owm_wx_group) config.register_group(avwx_group) @@ -184,7 +176,6 @@ def register_opts(config): def list_opts(): return { aprsfi_group.name: aprsfi_opts, - query_group.name: query_plugin_opts, owm_wx_group.name: owm_wx_opts, avwx_group.name: avwx_opts, location_group.name: location_opts, diff --git a/aprsd/plugin.py b/aprsd/plugin.py index 6c5f973..2819e81 100644 --- a/aprsd/plugin.py +++ b/aprsd/plugin.py @@ -25,7 +25,6 @@ CORE_MESSAGE_PLUGINS = [ "aprsd.plugins.fortune.FortunePlugin", "aprsd.plugins.location.LocationPlugin", "aprsd.plugins.ping.PingPlugin", - "aprsd.plugins.query.QueryPlugin", "aprsd.plugins.time.TimePlugin", "aprsd.plugins.weather.USWeatherPlugin", "aprsd.plugins.version.VersionPlugin",