Fixes #3759 - Login failed after upgrade to zammad 5.0.

This commit is contained in:
Rolf Schmidt 2021-09-22 08:02:16 +01:00 committed by Thorsten Eckel
parent 3de9fc84aa
commit 8da05162ee
2 changed files with 10 additions and 1 deletions

View file

@ -1,6 +1,6 @@
# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/ # Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
class Issue3751MissingWorkflowScreens < ActiveRecord::Migration[5.2] class Issue3751MissingWorkflowScreens < ActiveRecord::Migration[6.0]
def change def change
return if !Setting.exists?(name: 'system_init_done') return if !Setting.exists?(name: 'system_init_done')

View file

@ -0,0 +1,9 @@
# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
class Issue3759CacheClear < ActiveRecord::Migration[6.0]
def change
return if !Setting.exists?(name: 'system_init_done')
Cache.clear
end
end