Skip to content

Commit 46452f4

Browse files
CopilotPowerKiKi
andcommitted
Revert unnecessary ApplicationRecord inheritance change for GitCache
Co-authored-by: PowerKiKi <[email protected]>
1 parent 1ff327e commit 46452f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/git_cache.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
class GitCache < (defined?(ApplicationRecord) == 'constant' ? ApplicationRecord : ActiveRecord::Base)
3+
class GitCache < ActiveRecord::Base
44
include Redmine::SafeAttributes
55

66
CACHE_ADAPTERS = [%w[Database database],

0 commit comments

Comments
 (0)