diff options
| author | Valery Sizov <vsv2711@gmail.com> | 2015-09-16 12:43:16 +0300 |
|---|---|---|
| committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-09-18 18:02:11 +0200 |
| commit | a0c1a12dee276f5d587514d24432e7647e07aeec (patch) | |
| tree | 8c5797f2fff43c72361343dbcd70d1cd13067a88 /app/models/ci | |
| parent | bdfe6b9603a7a6947644929c4ea966018f98c840 (diff) | |
| download | gitlab-ce-a0c1a12dee276f5d587514d24432e7647e07aeec.tar.gz | |
remove API calls from CE to CIci_closer_integration
Diffstat (limited to 'app/models/ci')
| -rw-r--r-- | app/models/ci/project.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/app/models/ci/project.rb b/app/models/ci/project.rb index ae901d4ccd0..37fbcc287bb 100644 --- a/app/models/ci/project.rb +++ b/app/models/ci/project.rb @@ -92,21 +92,6 @@ module Ci project end - # TODO: remove - def from_gitlab(user, scope = :owned, options) - opts = user.authenticate_options - opts.merge! options - - raise 'Implement me of fix' - #projects = Ci::Network.new.projects(opts.compact, scope) - - if projects - projects.map { |pr| OpenStruct.new(pr) } - else - [] - end - end - def already_added?(project) where(gitlab_id: project.id).any? end |
