Files
redmine/patches/uxupgrade_cleanstartup.patch
Roman Vaníček 45242a5e0f
All checks were successful
continuous-integration/drone/push Build is passing
Uxupgrade as optional without theme copying so login bg can be patched by docker binding.
Workload remove unnecessary patch.
2023-03-28 20:52:36 +02:00

23 lines
1.0 KiB
Diff

--- a/plugins/000_redmine_x_ux_upgrade/init.rb
+++ b/plugins/000_redmine_x_ux_upgrade/init.rb
@@ -34,10 +34,10 @@ plugin_path = Redmine::Plugin.registered_plugins[:'000_redmine_x_ux_upgrade'].pa
require "#{plugin_path}/lib/redmine_x_ux_upgrade"
# Copy projectino theme and to public folder
-FileUtils.cp_r("#{plugin_path}/assets/themes", "#{Rails.root}/public")
+#FileUtils.cp_r("#{plugin_path}/assets/themes", "#{Rails.root}/public")
# Set redmine theme to 'redminex_theme'
-RedmineXUxUpgrade.set_redmine_x_theme
+#RedmineXUxUpgrade.set_redmine_x_theme
# Save additional default settings if this is upgrade of older version # for Redmine v5.0.2
RedmineXUxUpgrade.save_default_settings
@@ -50,5 +50,5 @@ RedmineApp::Application.routes.prepend do
post '/settings/plugin/000_redmine_x_ux_upgrade/remove_logo', to: 'settings#delete_attachment', as: 'delete_attachment'
end
-RedmineXUxUpgrade::UxUpgradeAttachments.copy_plugin_images_after_restart
+#RedmineXUxUpgrade::UxUpgradeAttachments.copy_plugin_images_after_restart