Don't delete log entries that are associated with a repository when the repository is deleted.
This commit is contained in:
parent
dc3dc525e1
commit
e52e699743
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Reference in a new issue