director/lib/director/jobs/update_release.rb
def remove_release_version_model
        return unless @release_version_model && !@release_version_model.new?

        @release_version_model.remove_all_packages
        @release_version_model.remove_all_templates
        @release_version_model.destroy
      end
# Removes release version model, along with all packages and templates.
# @return [void]
Removes release version model, along with all packages and templates.
Removes release version model along with all packages and templates .
def remove_release_version_model
        return unless @release_version_model && !@release_version_model.new?
        @release_version_model.remove_all_packages
        @release_version_model.remove_all_templates
        @release_version_model.destroy
      end
def remove_release_version_model return unless @release_version_model && ! @release_version_model . new? @release_version_model . remove_all_packages @release_version_model . remove_all_templates @release_version_model . destroy end
Removes release version model, along with all packages and templates.
Removes release version model along with all packages and templates .
None
void