Skip to content

Commit

Permalink
Drop unused env_content_ids_with_null_content method
Browse files Browse the repository at this point in the history
Fixes: 5c2a705 ("Drop old Satellite version conditionals")
  • Loading branch information
ekohl committed Oct 15, 2024
1 parent 5e0d1aa commit 2c6e4fa
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions definitions/features/candlepin_database.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,6 @@ def check_option_using_cpdb_help(option_name, parent_cmd = '')
execute?(help_cmd)
end

def env_content_ids_with_null_content
sql = <<-SQL
SELECT ec.id
FROM cp_env_content ec
LEFT JOIN cp_content c ON ec.contentid = c.id WHERE c.id IS NULL
SQL
query(sql).map { |r| r['id'] }
end

private

def load_configuration
Expand Down

0 comments on commit 2c6e4fa

Please sign in to comment.