#794: remove unnecessary code

This commit is contained in:
Vokhmin Alexey V 2013-01-17 20:43:31 +04:00
parent cd6cc0c169
commit 27e48af7d4
1 changed files with 0 additions and 9 deletions

View File

@ -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