From 27e48af7d4880dd4d6794fb8c5697d87390f2474 Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Thu, 17 Jan 2013 20:43:31 +0400 Subject: [PATCH] #794: remove unnecessary code --- lib/abf_worker/build_lists_publish_task_manager.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/abf_worker/build_lists_publish_task_manager.rb b/lib/abf_worker/build_lists_publish_task_manager.rb index 53b31895d..8866b47cf 100644 --- a/lib/abf_worker/build_lists_publish_task_manager.rb +++ b/lib/abf_worker/build_lists_publish_task_manager.rb @@ -74,15 +74,6 @@ module AbfWorker @redis.lrange LOCKED_REPOSITORIES, 0, -1 end - # def create_tasks_for_cleanup - # reps_to_projects = {} - # @redis.lrange(PROJECTS_AND_REPOS_FOR_CLEANUP, 0, -1).each do |key| - # project_id, repository_id = *key.split('-') - # locked_rep = locked_repositories - # next if locked_repositories - # end - # end - def create_tasks_for_resign_repositories resign_repos = @redis.lrange RESIGN_REPOSITORIES, 0, -1