Merge "Clean destroy for project quota"
This commit is contained in:
commit
4bf72c3df3
@ -3210,6 +3210,11 @@ def quota_destroy_all_by_project(context, project_id):
|
||||
filter_by(project_id=project_id).\
|
||||
soft_delete(synchronize_session=False)
|
||||
|
||||
model_query(context, models.ProjectUserQuota, session=session,
|
||||
read_deleted="no").\
|
||||
filter_by(project_id=project_id).\
|
||||
soft_delete(synchronize_session=False)
|
||||
|
||||
model_query(context, models.QuotaUsage,
|
||||
session=session, read_deleted="no").\
|
||||
filter_by(project_id=project_id).\
|
||||
|
Loading…
Reference in New Issue
Block a user