Skip to content

Commit

Permalink
[webui] Remove unused PackageController#change_flag
Browse files Browse the repository at this point in the history
  • Loading branch information
hennevogel committed Nov 5, 2015
1 parent 891117d commit 80bcf4d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/api/app/controllers/webui/package_controller.rb
Expand Up @@ -1022,15 +1022,6 @@ def repositories
@architectures = @package.project.architectures.uniq
end

def change_flag
check_ajax
required_parameters :cmd, :flag
frontend.source_cmd params[:cmd], project: @project, package: @package,
repository: params[:repository], arch: params[:arch],
flag: params[:flag], status: params[:status]
@flags = @package.expand_flags[params[:flag]]
end

private

def file_available? url, max_redirects = 5
Expand Down

0 comments on commit 80bcf4d

Please sign in to comment.