diff options
Diffstat (limited to 'app/presenters/user_presenter.rb')
-rw-r--r-- | app/presenters/user_presenter.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/presenters/user_presenter.rb b/app/presenters/user_presenter.rb index 43164cca9c9..da087ce6858 100644 --- a/app/presenters/user_presenter.rb +++ b/app/presenters/user_presenter.rb @@ -21,7 +21,6 @@ class UserPresenter < Gitlab::View::Presenter::Delegated delegator_override :saved_replies def saved_replies - return ::Users::SavedReply.none unless Feature.enabled?(:saved_replies, current_user) return ::Users::SavedReply.none unless current_user.can?(:read_saved_replies, user) user.saved_replies |