Skip to content

Commit

Permalink
Merge pull request #8855 from coolo/fix_patchinfo_undelete
Browse files Browse the repository at this point in the history
[2.10] Fix package kind after undelete
  • Loading branch information
coolo committed Dec 10, 2019
2 parents a6b71ac + 3395643 commit b2daaa8
Show file tree
Hide file tree
Showing 6 changed files with 1,284 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/api/app/controllers/source_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -853,6 +853,7 @@ def package_command_undelete
pkg = prj.packages.new(name: params[:package])
pkg.update_from_xml(Xmlhash.parse(Backend::Api::Sources::Package.meta(params[:project], params[:package])))
pkg.store
pkg.sources_changed
end

# FIXME: obsolete this for 3.0
Expand Down
Loading

0 comments on commit b2daaa8

Please sign in to comment.