DEV: Remove the old header widgets code (#28390)

Remove the header widget code.

More info can be found in https://meta.discourse.org/t/upcoming-header-changes-preparing-themes-and-plugins/296544
This commit is contained in:
Sérgio Saquetim
2024-09-04 14:50:53 -03:00
committed by GitHub
parent a23773f83d
commit 7c3ad27de6
27 changed files with 54 additions and 2573 deletions

View File

@@ -0,0 +1,14 @@
# frozen_string_literal: true
#
class RemoveGlimmerHeaderModeSetting < ActiveRecord::Migration[7.1]
def up
execute <<~SQL
DELETE FROM site_settings
WHERE name = 'glimmer_header_mode'
SQL
end
def down
raise ActiveRecord::IrreversibleMigration
end
end