-
Notifications
You must be signed in to change notification settings - Fork 744
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Strange condition on UserInfo #5977
Comments
No, basically this is the user profile module, it used to be used by both users and admins but now admins have a new experience in the persona bar. So this code was all refactored to no longer user |
Do you just have to remove the condition? |
@Mostafa-Moafi basically the whole if block can go away as one will never be both a superuser and not a superuser, so that code will never ever run anyway. |
Is there an existing issue for this?
What happened?
This condition will always be false after refactoring in #5971
Steps to reproduce?
This condition should never be entered as it will always be false, this is just a note to remove this block at some point in time.
Current Behavior
No response
Expected Behavior
No response
Relevant log output
No response
Anything else?
No response
Affected Versions
9.13.3 (alpha)
What browsers are you seeing the problem on?
Chrome
Code of Conduct
The text was updated successfully, but these errors were encountered: