aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-05-26 18:24:16 +0200
committermetamuffin <metamuffin@disroot.org>2025-05-26 18:24:16 +0200
commit3b15caade07e8fbe351fed9aceb3f435bf58368e (patch)
treecce91c229b78061ad36f29d76a76d67c3c737c59 /common
parent1eeff5c03e8985d16d4f2b6283741dd82b369bd3 (diff)
downloadjellything-3b15caade07e8fbe351fed9aceb3f435bf58368e.tar
jellything-3b15caade07e8fbe351fed9aceb3f435bf58368e.tar.bz2
jellything-3b15caade07e8fbe351fed9aceb3f435bf58368e.tar.zst
move all direct database access to logic crate
Diffstat (limited to 'common')
-rw-r--r--common/src/config.rs1
-rw-r--r--common/src/routes.rs3
2 files changed, 0 insertions, 4 deletions
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")
}