Read about our upcoming Code of Conduct on this issue

Commit a635b9da authored by Valeriy Sizov's avatar Valeriy Sizov
Browse files

Revert "Do not allow removal of a project owner user."

This reverts commit 7fe27d8947f3.
parent 6aee5b50820e
......@@ -98,7 +98,6 @@ def update
def destroy
@admin_user = User.find(params[:id])
redirect_to admin_users_url, notice: 'User is a project owner, cannot be removed.' and return if @admin_user.my_own_projects.count > 0
respond_to do |format|
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment