From 09d0c13d6fb3eecfead01110e9afe27cc1676b2c Mon Sep 17 00:00:00 2001 From: strawberry Date: Mon, 25 Dec 2023 15:10:09 -0500 Subject: [PATCH] remove unused config global function Signed-off-by: strawberry --- src/service/globals/mod.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/service/globals/mod.rs b/src/service/globals/mod.rs index 87c812c7..228424f5 100644 --- a/src/service/globals/mod.rs +++ b/src/service/globals/mod.rs @@ -307,13 +307,6 @@ impl Service<'_> { self.config.allow_guest_registration } - pub fn yes_i_am_very_very_sure_i_want_an_open_registration_server_prone_to_abuse( - &self, - ) -> bool { - self.config - .yes_i_am_very_very_sure_i_want_an_open_registration_server_prone_to_abuse - } - pub fn allow_encryption(&self) -> bool { self.config.allow_encryption }