Show More
@@ -292,6 +292,9 b' class ScmModel(BaseModel):' | |||||
292 | :param repo_name: this repo that should invalidation take place |
|
292 | :param repo_name: this repo that should invalidation take place | |
293 | """ |
|
293 | """ | |
294 | CacheInvalidation.set_invalidate(repo_name=repo_name) |
|
294 | CacheInvalidation.set_invalidate(repo_name=repo_name) | |
|
295 | repo = Repository.get_by_repo_name(repo_name) | |||
|
296 | if repo: | |||
|
297 | repo.update_changeset_cache() | |||
295 |
|
298 | |||
296 | def toggle_following_repo(self, follow_repo_id, user_id): |
|
299 | def toggle_following_repo(self, follow_repo_id, user_id): | |
297 |
|
300 |
General Comments 0
You need to be logged in to leave comments.
Login now