Use proper scope when accessting application settings

This commit is contained in:
Grzegorz Bizon 2018-12-03 13:21:36 +01:00
parent f8dea2e214
commit bba97f8203
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ module Gitlab
self.inheritance_column = :_type_disabled
after_commit do
ApplicationSetting.expire
::ApplicationSetting.expire
end
def runners_registration_token=(value)