summaryrefslogtreecommitdiff
path: root/app/workers/admin_email_worker.rb
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2016-04-06 13:47:05 +0200
committerJacob Vosmaer <contact@jacobvosmaer.nl>2016-04-06 13:47:05 +0200
commit5cf56e56470e695b10db02dff70d0f0b50060518 (patch)
treed46ecd17857f8e49abda15c03576c099e2bf39df /app/workers/admin_email_worker.rb
parente3558ed67e7e829fe5148c3fb2fe80ed045fe1b4 (diff)
downloadgitlab-ce-5cf56e56470e695b10db02dff70d0f0b50060518.tar.gz
Rename almost all the things
Diffstat (limited to 'app/workers/admin_email_worker.rb')
-rw-r--r--app/workers/admin_email_worker.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/workers/admin_email_worker.rb b/app/workers/admin_email_worker.rb
index fcccb9ea669..667fff031dd 100644
--- a/app/workers/admin_email_worker.rb
+++ b/app/workers/admin_email_worker.rb
@@ -4,9 +4,9 @@ class AdminEmailWorker
sidekiq_options retry: false # this job auto-repeats via sidekiq-cron
def perform
- repo_check_failed_count = Project.where(last_repo_check_failed: true).count
- return if repo_check_failed_count.zero?
+ repository_check_failed_count = Project.where(last_repository_check_failed: true).count
+ return if repository_check_failed_count.zero?
- RepoCheckMailer.notify(repo_check_failed_count).deliver_now
+ RepositoryCheckMailer.notify(repository_check_failed_count).deliver_now
end
end