Skip to content

Commit 758007e

Browse files
committed
Removed remnants of QueryPlugin
QueryPlugin was removed a while back after the stats rework. This patch removes the config options for the Query plugin
1 parent a74a66d commit 758007e

File tree

3 files changed

+0
-11
lines changed

3 files changed

+0
-11
lines changed

aprsd/conf/common.py

-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,6 @@
205205
"aprsd.plugins.fortune.FortunePlugin",
206206
"aprsd.plugins.location.LocationPlugin",
207207
"aprsd.plugins.ping.PingPlugin",
208-
"aprsd.plugins.query.QueryPlugin",
209208
"aprsd.plugins.time.TimePlugin",
210209
"aprsd.plugins.weather.OWMWeatherPlugin",
211210
"aprsd.plugins.version.VersionPlugin",

aprsd/conf/plugin_common.py

-9
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,6 @@
3131
),
3232
]
3333

34-
query_plugin_opts = [
35-
cfg.StrOpt(
36-
"callsign",
37-
help="The Ham callsign to allow access to the query plugin from RF.",
38-
),
39-
]
40-
4134
owm_wx_opts = [
4235
cfg.StrOpt(
4336
"apiKey",
@@ -172,7 +165,6 @@ def register_opts(config):
172165
config.register_group(aprsfi_group)
173166
config.register_opts(aprsfi_opts, group=aprsfi_group)
174167
config.register_group(query_group)
175-
config.register_opts(query_plugin_opts, group=query_group)
176168
config.register_group(owm_wx_group)
177169
config.register_opts(owm_wx_opts, group=owm_wx_group)
178170
config.register_group(avwx_group)
@@ -184,7 +176,6 @@ def register_opts(config):
184176
def list_opts():
185177
return {
186178
aprsfi_group.name: aprsfi_opts,
187-
query_group.name: query_plugin_opts,
188179
owm_wx_group.name: owm_wx_opts,
189180
avwx_group.name: avwx_opts,
190181
location_group.name: location_opts,

aprsd/plugin.py

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
"aprsd.plugins.fortune.FortunePlugin",
2626
"aprsd.plugins.location.LocationPlugin",
2727
"aprsd.plugins.ping.PingPlugin",
28-
"aprsd.plugins.query.QueryPlugin",
2928
"aprsd.plugins.time.TimePlugin",
3029
"aprsd.plugins.weather.USWeatherPlugin",
3130
"aprsd.plugins.version.VersionPlugin",

0 commit comments

Comments
 (0)