Don't delete log entries that are associated with a repository when the repository is deleted.

This commit is contained in:
yackob03 2013-12-02 18:16:22 -05:00
parent dc3dc525e1
commit e52e699743

View file

@ -930,7 +930,7 @@ def set_team_repo_permission(team_name, namespace_name, repository_name,
def purge_repository(namespace_name, repository_name):
fetched = Repository.get(Repository.name == repository_name,
Repository.namespace == namespace_name)
fetched.delete_instance(recursive=True, delete_nullable=True)
fetched.delete_instance(recursive=True)
def get_private_repo_count(username):