Skip to content

Commit

Permalink
Get rid of Package#api_obj
Browse files Browse the repository at this point in the history
This method is not used.
  • Loading branch information
Ana06 committed Jan 28, 2019
1 parent 88135dd commit 97200ac
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/api/app/models/package.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1370,10 +1370,6 @@ def fixtures_name
"#{project.name}_#{name}".tr(':', '_')
end

def api_obj
self
end

#### WARNING: these operations run in build object, not this package object
def rebuild(params)
backend_build_command(:rebuild, params[:project], params.slice(:package, :arch, :repository))
Expand Down

0 comments on commit 97200ac

Please sign in to comment.