diff options
author | Dylan Griffith <dyl.griffith@gmail.com> | 2018-04-07 07:31:52 +1000 |
---|---|---|
committer | Dylan Griffith <dyl.griffith@gmail.com> | 2018-04-09 10:46:42 +1000 |
commit | f45b8888fc1a2694b8e2da64512137ab54a09a66 (patch) | |
tree | ad066d377ae5dc2d4ddc6c12845a5adae698cf02 /app/models | |
parent | 742d23a5d0f61c9939d42605762b6fc073ae4f22 (diff) | |
download | gitlab-ce-f45b8888fc1a2694b8e2da64512137ab54a09a66.tar.gz |
Remove unused User#manageable_group_projects (#41981)
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/user.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index 25441d2b68f..42bb27d4753 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -955,10 +955,6 @@ class User < ActiveRecord::Base Gitlab::GroupHierarchy.new(owned_and_master_groups).base_and_descendants end - def manageable_group_projects - Project.where(namespace: manageable_groups) - end - def namespaces namespace_ids = groups.pluck(:id) namespace_ids.push(namespace.id) |