diff options
author | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-07-13 18:10:01 +0200 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-07-27 11:49:27 +0200 |
commit | c11ed138a02d29230e192a064011347e93b7fb9f (patch) | |
tree | 1ef7108e04bfd3ea23f44ed4739f6020848459cd /app/models/application_setting.rb | |
parent | ea1012ccb4da9c8e0dae1a9cb710b39c97baa8a1 (diff) | |
download | gitlab-ce-c11ed138a02d29230e192a064011347e93b7fb9f.tar.gz |
Remove deprecated `repository_storage` attributebvl-add-all-settings-to-api
In favor of the new `repository_storages`
Diffstat (limited to 'app/models/application_setting.rb')
-rw-r--r-- | app/models/application_setting.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/application_setting.rb b/app/models/application_setting.rb index 898ce45f60e..bd7c4cd45ea 100644 --- a/app/models/application_setting.rb +++ b/app/models/application_setting.rb @@ -315,7 +315,9 @@ class ApplicationSetting < ActiveRecord::Base Array(read_attribute(:repository_storages)) end + # DEPRECATED # repository_storage is still required in the API. Remove in 9.0 + # Still used in API v3 def repository_storage repository_storages.first end |