Skip to content
Browse files

Merge pull request #643 from jmarshallnz/97edc27119c037127480ec54af23…

…4afc36331e91

Always set repo update time even if repo failed to update
  • Loading branch information...
2 parents b80fae4 + 97edc27 commit 6d9a5548f126976307449b4fde9268a4b5aa87f9 @jmarshallnz jmarshallnz committed Jan 27, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 xbmc/addons/Repository.cpp
View
4 xbmc/addons/Repository.cpp
@@ -255,10 +255,8 @@ VECADDONS CRepositoryUpdateJob::GrabAddons(RepositoryPtr& repo)
CLog::Log(LOGERROR,"Repository %s returned no add-ons, listing may have failed",repo->Name().c_str());
}
else
- {
database.GetRepository(repo->ID(),addons);
- database.SetRepoTimestamp(repo->ID(),CDateTime::GetCurrentDateTime().GetAsDBDateTime());
- }
+ database.SetRepoTimestamp(repo->ID(),CDateTime::GetCurrentDateTime().GetAsDBDateTime());
return addons;
}

0 comments on commit 6d9a554

Please sign in to comment.
Something went wrong with that request. Please try again.