Remove unused perma deleted text

This commit is contained in:
dull b 2023-07-04 04:17:00 +00:00
parent 07bad4c4c3
commit 0613cf8384

View file

@ -103,9 +103,6 @@ impl Post {
mut conn: impl DbConn, mut conn: impl DbConn,
for_creator_id: PersonId, for_creator_id: PersonId,
) -> Result<Vec<Self>, Error> { ) -> Result<Vec<Self>, Error> {
let _perma_deleted = "*Permananently Deleted*";
let _perma_deleted_url = "https://deleted.com";
diesel::update(post.filter(creator_id.eq(for_creator_id))) diesel::update(post.filter(creator_id.eq(for_creator_id)))
.set(( .set((
name.eq(DELETED_REPLACEMENT_TEXT), name.eq(DELETED_REPLACEMENT_TEXT),