Skip to content

Commit

Permalink
Still adapting to the new Repo API
Browse files Browse the repository at this point in the history
  • Loading branch information
hakan42 committed Jan 2, 2015
1 parent b89e555 commit a7ab4c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -263,12 +263,12 @@ private static int Update(UpdateOptions options, RegistryManager registry_manage
{
if (options.update_all)
{
int updated = CKAN.Repo.UpdateAllRepositories(registry_manager, current_instance.Version(), user);
int updated = CKAN.Repo.UpdateAllRepositories(registry_manager, current_instance, user);
user.RaiseMessage("Updated information on {0} available modules", updated);
}
else
{
int updated = CKAN.Repo.Update(registry_manager, current_instance.Version(), user, true, options.repo);
int updated = CKAN.Repo.Update(registry_manager, current_instance, user, true, options.repo);
user.RaiseMessage("Updated information on {0} available modules", updated);
}
}
Expand Down

0 comments on commit a7ab4c4

Please sign in to comment.