diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-04 00:09:04 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-04 00:09:04 +0000 |
commit | 27a18afc7dba4e09a5ec78e5c251c31216d7792a (patch) | |
tree | 5dcc015be79e00de4133a66defe10bf1463ff827 /app/models/error_tracking | |
parent | 71c9d577ad563572050335dc261ba7673e3e566f (diff) | |
download | gitlab-ce-27a18afc7dba4e09a5ec78e5c251c31216d7792a.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/error_tracking')
-rw-r--r-- | app/models/error_tracking/project_error_tracking_setting.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/app/models/error_tracking/project_error_tracking_setting.rb b/app/models/error_tracking/project_error_tracking_setting.rb index 5ee6522fb9d..88a2531d649 100644 --- a/app/models/error_tracking/project_error_tracking_setting.rb +++ b/app/models/error_tracking/project_error_tracking_setting.rb @@ -128,10 +128,6 @@ module ErrorTracking end end - def expire_issues_cache - Rails.cache.delete_matched(expand_cache_key('list_issues')) - end - # http://HOST/api/0/projects/ORG/PROJECT # -> # http://HOST/ORG/PROJECT @@ -148,12 +144,6 @@ module ErrorTracking private - def expand_cache_key(resource_prefix) - klass_key = self.class.reactive_cache_key.call(self).join(':') - - "#{klass_key}:#{resource_prefix}*" - end - def add_gitlab_issue_details(issue) issue.gitlab_commit = match_gitlab_commit(issue.first_release_version) issue.gitlab_commit_path = project_commit_path(project, issue.gitlab_commit) if issue.gitlab_commit |