]> Untitled Git - lemmy.git/commit
Remove dead code (#81)
authornutomic <nutomic@noreply.yerbamate.dev>
Wed, 12 Aug 2020 12:30:52 +0000 (12:30 +0000)
committerdessalines <dessalines@noreply.yerbamate.dev>
Wed, 12 Aug 2020 12:30:52 +0000 (12:30 +0000)
commitaace1bd71e616d0ce9c76cb7872a2b9d1460a38e
treec06fc156f0851da84ba612abd1f8dccf0e02d36c
parent49892690ff0842d84b742eb6930014c942942a35
Remove dead code (#81)

Add post_read back in, do some cleanup

Add some delete functions back in

Merge branch 'main' into remove-dead-code

Replace body of unused db functions with unimplemented!()

Remove dead code

Remove remaining usages of unwrap() from activitypub code

Remove most usage of Option::unwrap() from activitypub code

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/81
20 files changed:
server/lemmy_db/src/activity.rs
server/lemmy_db/src/category.rs
server/lemmy_db/src/comment.rs
server/lemmy_db/src/community.rs
server/lemmy_db/src/community_view.rs
server/lemmy_db/src/lib.rs
server/lemmy_db/src/moderator.rs
server/lemmy_db/src/password_reset_request.rs
server/lemmy_db/src/post.rs
server/lemmy_db/src/post_view.rs
server/lemmy_db/src/private_message.rs
server/lemmy_db/src/site.rs
server/lemmy_db/src/user_mention.rs
server/lemmy_db/src/user_view.rs
server/lemmy_utils/src/lib.rs
server/lemmy_utils/src/settings.rs
server/src/api/claims.rs
server/src/apub/fetcher.rs
server/src/main.rs
server/src/routes/mod.rs