Remove admin check

This was non-functional for over a year
This commit is contained in:
dasha_uwu
2026-01-26 09:44:59 +05:00
committed by Jason Volk
parent 876c291c91
commit 32e3d38866
4 changed files with 0 additions and 51 deletions

View File

@@ -3,7 +3,6 @@ use tuwunel_core::Result;
use crate::{
appservice::{self, AppserviceCommand},
check::{self, CheckCommand},
context::Context,
debug::{self, DebugCommand},
federation::{self, FederationCommand},
@@ -42,10 +41,6 @@ pub(super) enum AdminCommand {
/// - Commands for managing media
Media(MediaCommand),
#[command(subcommand)]
/// - Commands for checking integrity
Check(CheckCommand),
#[command(subcommand)]
/// - Commands for debugging things
Debug(DebugCommand),
@@ -72,7 +67,6 @@ pub(super) async fn process(command: AdminCommand, context: &Context<'_>) -> Res
| Server(command) => server::process(command, context).await,
| Debug(command) => debug::process(command, context).await,
| Query(command) => query::process(command, context).await,
| Check(command) => check::process(command, context).await,
| Token(command) => token::process(command, context).await,
}
}