api/user: remove log_action comments for stars

It is not necessary to log the starring of repositories.
This commit is contained in:
Jimmy Zelinskie 2015-03-02 13:25:58 -05:00
parent d4884d47b4
commit 9dd6e8e639

View file

@ -740,10 +740,6 @@ class StarredRepositoryList(ApiResource):
except IntegrityError:
pass
#TODO(jzelinskie): log this action
#log_action('star_repository', user.username, namespace,
# {'repo': repository, 'namespace': namespace})
return {
'namespace': namespace,
'repository': repository,
@ -762,8 +758,4 @@ class StarredRepository(RepositoryParamResource):
if repo:
model.unstar_repository(user, repo)
#TODO(jzelinskie): log this action
#log_action('unstar_repository', user.username, namespace,
# {'repo': repository, 'namespace': namespace})
return 'Deleted', 204