api/user: remove log_action comments for stars
It is not necessary to log the starring of repositories.
This commit is contained in:
parent
d4884d47b4
commit
9dd6e8e639
1 changed files with 0 additions and 8 deletions
|
@ -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
|
||||
|
|
Reference in a new issue