From b643e9946eb243d55a88918331da0afd8826fc41 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sat, 26 Oct 2024 17:48:52 -0400 Subject: [PATCH] Fixing errors. --- crates/utils/src/error.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/crates/utils/src/error.rs b/crates/utils/src/error.rs index 5188f2881..1f29bf589 100644 --- a/crates/utils/src/error.rs +++ b/crates/utils/src/error.rs @@ -42,7 +42,6 @@ pub enum LemmyErrorType { PersonIsBlocked, CommunityIsBlocked, InstanceIsBlocked, - VoteNotAllowed, InstanceIsPrivate, /// Password must be between 10 and 60 characters InvalidPassword, @@ -57,7 +56,6 @@ pub enum LemmyErrorType { OnlyAdminsCanCreateCommunities, CommunityAlreadyExists, LanguageNotAllowed, - OnlyModsCanPostInCommunity, CouldntUpdatePost, NoPostEditAllowed, EditPrivateMessageNotAllowed, @@ -70,7 +68,6 @@ pub enum LemmyErrorType { EmailAlreadyExists, UsernameAlreadyExists, PersonIsBannedFromCommunity, - NewPostCannotBeLocked, NoIdGiven, IncorrectLogin, ObjectNotLocal,