From 0613cf83848f3dd2f8de53423657c062821333da Mon Sep 17 00:00:00 2001 From: dull b Date: Tue, 4 Jul 2023 04:17:00 +0000 Subject: [PATCH] Remove unused perma deleted text --- crates/db_schema/src/impls/post.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/crates/db_schema/src/impls/post.rs b/crates/db_schema/src/impls/post.rs index 11af8eb14..50143f36d 100644 --- a/crates/db_schema/src/impls/post.rs +++ b/crates/db_schema/src/impls/post.rs @@ -103,9 +103,6 @@ impl Post { mut conn: impl DbConn, for_creator_id: PersonId, ) -> Result, Error> { - let _perma_deleted = "*Permananently Deleted*"; - let _perma_deleted_url = "https://deleted.com"; - diesel::update(post.filter(creator_id.eq(for_creator_id))) .set(( name.eq(DELETED_REPLACEMENT_TEXT),