This commit is contained in:
Vokhmin Alexey V 2013-08-26 21:13:03 +04:00
parent b5b01f3765
commit f92c91736e
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ module AbfWorker
repository_status.last_regenerated_at = Time.now.utc
repository_status.last_regenerated_status = status
elsif extra['regenerate_platform'] # Regenerate metadata for Software Center
if platform = Platform.where(:id => extra['platform_id'])).first
if platform = Platform.where(:id => extra['platform_id']).first
platform.last_regenerated_at = Time.now.utc
platform.last_regenerated_status = status
platform.ready