From 9dd6e8e639afe8b6cfed64529f70f6196df8f676 Mon Sep 17 00:00:00 2001 From: Jimmy Zelinskie Date: Mon, 2 Mar 2015 13:25:58 -0500 Subject: [PATCH] api/user: remove log_action comments for stars It is not necessary to log the starring of repositories. --- endpoints/api/user.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/endpoints/api/user.py b/endpoints/api/user.py index c19ebff28..6c3cafd63 100644 --- a/endpoints/api/user.py +++ b/endpoints/api/user.py @@ -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