Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Griffith <dyl.griffith@gmail.com>2018-04-05 09:39:16 +0300
committerDylan Griffith <dyl.griffith@gmail.com>2018-04-09 03:12:02 +0300
commit5e3733da3773f187c5a8c20c26f9d5c0432dea57 (patch)
tree52a1b4e8c693a6a350e84aa5a5482453d35fa8d8 /app/models/namespace.rb
parent86ca1a77c58b508fc1b037c5fffbfb22fd992b42 (diff)
Get GITLAB_FEATURES from Project#licensed_features instead of Namespace#features (#5320)
Diffstat (limited to 'app/models/namespace.rb')
-rw-r--r--app/models/namespace.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/namespace.rb b/app/models/namespace.rb
index 2b63aa33222..c29a53e5ce7 100644
--- a/app/models/namespace.rb
+++ b/app/models/namespace.rb
@@ -248,10 +248,6 @@ class Namespace < ActiveRecord::Base
all_projects.with_storage_feature(:repository).find_each(&:remove_exports)
end
- def features
- []
- end
-
def refresh_project_authorizations
owner.refresh_authorized_projects
end