From b0d2c2ba0e0da29f88c69764ad6a785355d47cfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Van=C3=AD=C4=8Dek?= Date: Thu, 23 Mar 2023 19:33:51 +0100 Subject: [PATCH] Disable more from ux-upgrade init.rb --- patches/ux_upgrade-disable_db.patch | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/patches/ux_upgrade-disable_db.patch b/patches/ux_upgrade-disable_db.patch index c49ff7d..d96ffa4 100644 --- a/patches/ux_upgrade-disable_db.patch +++ b/patches/ux_upgrade-disable_db.patch @@ -1,6 +1,6 @@ --- "a/plugins/000_redmine_x_ux_upgrade/init.rb" +++ "b/plugins/000_redmine_x_ux_upgrade/init.rb" -@@ -37,10 +37,10 @@ require "#{plugin_path}/lib/redmine_x_ux_upgrade" +@@ -37,10 +37,10 @@ require "#{plugin_path}/lib/redmine_x_ux_upgrade" FileUtils.cp_r("#{plugin_path}/assets/themes", "#{Rails.root}/public") # Set redmine theme to 'redminex_theme' @@ -13,3 +13,10 @@ RedmineApp::Application.routes.prepend do scope '/home' do +@@ -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 +