diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-20 09:16:11 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-20 09:16:11 +0000 |
commit | edaa33dee2ff2f7ea3fac488d41558eb5f86d68c (patch) | |
tree | 11f143effbfeba52329fb7afbd05e6e2a3790241 /app/models/packages/debian | |
parent | d8a5691316400a0f7ec4f83832698f1988eb27c1 (diff) | |
download | gitlab-ce-edaa33dee2ff2f7ea3fac488d41558eb5f86d68c.tar.gz |
Add latest changes from gitlab-org/gitlab@14-7-stable-eev14.7.0-rc42
Diffstat (limited to 'app/models/packages/debian')
-rw-r--r-- | app/models/packages/debian/group_distribution.rb | 4 | ||||
-rw-r--r-- | app/models/packages/debian/project_distribution.rb | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/app/models/packages/debian/group_distribution.rb b/app/models/packages/debian/group_distribution.rb index 50c1ec9f163..01938f4a2ec 100644 --- a/app/models/packages/debian/group_distribution.rb +++ b/app/models/packages/debian/group_distribution.rb @@ -12,8 +12,4 @@ class Packages::Debian::GroupDistribution < ApplicationRecord .for_projects(group.all_projects.public_only) .with_debian_codename(codename) end - - def package_files - ::Packages::PackageFile.for_package_ids(packages.select(:id)) - end end diff --git a/app/models/packages/debian/project_distribution.rb b/app/models/packages/debian/project_distribution.rb index 5ac60d789b3..73777e3b9d8 100644 --- a/app/models/packages/debian/project_distribution.rb +++ b/app/models/packages/debian/project_distribution.rb @@ -9,5 +9,4 @@ class Packages::Debian::ProjectDistribution < ApplicationRecord has_many :publications, class_name: 'Packages::Debian::Publication', inverse_of: :distribution, foreign_key: :distribution_id has_many :packages, class_name: 'Packages::Package', through: :publications - has_many :package_files, class_name: 'Packages::PackageFile', through: :packages end |