remove extra pull check

This commit is contained in:
Alexander Machehin 2013-06-24 21:18:52 +06:00
parent ebc278d65a
commit 8e189821bd
1 changed files with 0 additions and 1 deletions

View File

@ -78,7 +78,6 @@ class Projects::PullRequestsController < Projects::BaseController
end
def merge
@pull.check
unless @pull.merge!(current_user)
flash.now[:error] = t('flash.pull_request.save_error')
flash.now[:warning] = @pull.errors.full_messages.join('. ')