Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Missed a performance case/source of recursion complaints in the log.

This is not a major issue (or even correctness issue), but will cause
complaints of recursion in the log.
  • Loading branch information...
commit 01e8b32412eaceefe87bfdbbf51448f1b6bdff82 1 parent db30d7e
@kubitron authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  app/controllers/gitolite_public_keys_controller.rb
View
2  app/controllers/gitolite_public_keys_controller.rb
@@ -18,12 +18,14 @@ def delete
end
def update
+ GitHostingObserver.set_update_active(false)
if @gitolite_public_key.update_attributes(params[:public_key])
flash[:notice] = l(:notice_public_key_updated)
redirect_to url_for(:controller => 'my', :action => 'account')
else
render :action => 'edit'
end
+ GitHostingObserver.set_update_active(true)
end
def create
Please sign in to comment.
Something went wrong with that request. Please try again.