We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ff327e commit 46452f4Copy full SHA for 46452f4
app/models/git_cache.rb
@@ -1,6 +1,6 @@
1
# frozen_string_literal: true
2
3
-class GitCache < (defined?(ApplicationRecord) == 'constant' ? ApplicationRecord : ActiveRecord::Base)
+class GitCache < ActiveRecord::Base
4
include Redmine::SafeAttributes
5
6
CACHE_ADAPTERS = [%w[Database database],
0 commit comments