Skip to content

Commit

Permalink
[frontend] Refactor StagingProject::find
Browse files Browse the repository at this point in the history
  • Loading branch information
bgeuken committed Jun 26, 2018
1 parent 069056a commit ae25746
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/api/app/models/obs_factory/staging_project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ def self.find(distribution, id)
project = ::Project.find_by_name("#{distribution.root_project_name}#{NAME_PREFIX}#{id}")
if project
StagingProject.new(project: project, distribution: distribution)
else
nil
end
end

Expand Down

0 comments on commit ae25746

Please sign in to comment.