This commit is contained in:
Vokhmin Alexey V 2013-03-22 15:59:33 +04:00
parent a4488727d3
commit 03dc35b70e
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ module AbfWorker
# if project of builds has been removed from repository.
BuildList.where(
:project_id => projects_for_cleanup.map{ |k| k.split('-')[0] }.uniq,
:save_to_repository_id => repository.id,
:save_to_repository_id => save_to_repository_id,
:status => BuildList::BUILD_PUBLISH
).update_all(:status => BuildList::FAILED_PUBLISH)