From 3b15caade07e8fbe351fed9aceb3f435bf58368e Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 26 May 2025 18:24:16 +0200 Subject: move all direct database access to logic crate --- common/src/config.rs | 1 - common/src/routes.rs | 3 --- 2 files changed, 4 deletions(-) (limited to 'common/src') diff --git a/common/src/config.rs b/common/src/config.rs index 9368247..016bdeb 100644 --- a/common/src/config.rs +++ b/common/src/config.rs @@ -49,7 +49,6 @@ pub struct FederationAccount { pub tls: bool, } - fn login_expire() -> i64 { 60 * 60 * 24 } diff --git a/common/src/routes.rs b/common/src/routes.rs index 437f469..31e31d4 100644 --- a/common/src/routes.rs +++ b/common/src/routes.rs @@ -77,9 +77,6 @@ pub fn u_admin_invite_remove() -> String { pub fn u_admin_import(incremental: bool) -> String { format!("/admin/import?incremental={incremental}") } -pub fn u_admin_transcode_posters() -> String { - format!("/admin/transcode_posters") -} pub fn u_admin_update_search() -> String { format!("/admin/update_search") } -- cgit v1.2.3-70-g09d2