Skip to content

A platform for community discussion. Free, open, simple.

DEV: Remove deprecated Category#url_with_id method (#22582)

Ted Johansson6abec9335f87
diff --git a/app/models/category.rb b/app/models/category.rb
index 746c60b2ecc..db6ece10344 100644
--- a/app/models/category.rb
+++ b/app/models/category.rb
@@ -893,16 +893,6 @@ class Category < ActiveRecord::Base
end
end
- def url_with_id
- Discourse.deprecate(
- "Category#url_with_id is deprecated. Use `Category#url` instead.",
- output_in_test: true,
- drop_from: "2.9.0",
- )
-
- url
- end
-
# If the name changes, try and update the category definition topic too if it's an exact match
def rename_category_definition
return unless topic.present?