mirror of
https://github.com/discourse/discourse.git
synced 2026-08-05 21:57:36 +08:00
The element's link is hardcoded, allowing overrides causes confusion. Site admins can still remove this widget entirely or override with themes/components.
10 lines
290 B
Ruby
Vendored
10 lines
290 B
Ruby
Vendored
# frozen_string_literal: true
|
|
class DropPoweredByDiscourseTranslationOverride < ActiveRecord::Migration[8.0]
|
|
def up
|
|
execute "DELETE FROM translation_overrides WHERE translation_key = 'js.powered_by_discourse'"
|
|
end
|
|
|
|
def down
|
|
raise ActiveRecord::IrreversibleMigration
|
|
end
|
|
end
|