diff options
author | Dylan Griffith <dyl.griffith@gmail.com> | 2018-05-10 14:42:55 +0200 |
---|---|---|
committer | Dylan Griffith <dyl.griffith@gmail.com> | 2018-05-16 10:52:28 +0200 |
commit | c3f9d80a6e0950361e056ded4107015d3923f56d (patch) | |
tree | 91155d2ef99e8fd9feca798b1a6dd1d3f5519d9d /app/models | |
parent | 18821b157dbf3a73637ab741e8154b5133ce0e72 (diff) | |
download | gitlab-ce-c3f9d80a6e0950361e056ded4107015d3923f56d.tar.gz |
Rename User#ci_authorized_runners -> ci_owned_runners
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/user.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index 2afe9ea77f9..226a4489261 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -999,8 +999,8 @@ class User < ActiveRecord::Base !solo_owned_groups.present? end - def ci_authorized_runners - @ci_authorized_runners ||= begin + def ci_owned_runners + @ci_owned_runners ||= begin project_runner_ids = Ci::RunnerProject .where(project: authorized_projects(Gitlab::Access::MASTER)) .select(:runner_id) |