Mercurial > kallithea
diff rhodecode/model/scm.py @ 3759:12ca667b69b6 beta
api: don't report invalidated cache_keys after invalidating a repo
The keys are an implementation detail and is never relevant outside RhodeCode
internals and should not be leaked.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 03 Apr 2013 15:56:12 +0200 |
parents | 6ff98871247a |
children | 910ad1ffee99 |
line wrap: on
line diff
--- a/rhodecode/model/scm.py Mon Apr 15 20:44:18 2013 +0200 +++ b/rhodecode/model/scm.py Wed Apr 03 15:56:12 2013 +0200 @@ -322,11 +322,10 @@ :param repo_name: the repo for which caches should be marked invalid """ - invalidated_keys = CacheInvalidation.set_invalidate(repo_name) + CacheInvalidation.set_invalidate(repo_name) repo = Repository.get_by_repo_name(repo_name) if repo: repo.update_changeset_cache() - return invalidated_keys def toggle_following_repo(self, follow_repo_id, user_id):