Commit 0afc18aa authored by Michal Čihař's avatar Michal Čihař

Remove unused method

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 3e7a1004
......@@ -518,14 +518,6 @@ class SubProject(models.Model, PercentMixin, URLMixin, PathMixin):
return self._repository
def clear_repo_cache(self):
"""
Clears cached information on repository update.
"""
cache.delete(
'{0}-last-commit'.format(self.get_full_slug())
)
def get_last_remote_commit(self):
'''
Returns latest remote commit we know.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment