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-07 00:31:52 +0300
committerDylan Griffith <dyl.griffith@gmail.com>2018-04-09 03:46:42 +0300
commitf45b8888fc1a2694b8e2da64512137ab54a09a66 (patch)
treead066d377ae5dc2d4ddc6c12845a5adae698cf02 /app/models/user.rb
parent742d23a5d0f61c9939d42605762b6fc073ae4f22 (diff)
Remove unused User#manageable_group_projects (#41981)
Diffstat (limited to 'app/models/user.rb')
-rw-r--r--app/models/user.rb4
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)