示例#1
0
文件: quota.py 项目: nkrinner/manila
    def destroy_all_by_project_and_user(self, context, project_id, user_id):
        """
        Destroy all quotas, usages, and reservations associated with a
        project and user.

        :param context: The request context, for access checks.
        :param project_id: The ID of the project being deleted.
        :param user_id: The ID of the user being deleted.
        """

        db.quota_destroy_all_by_project_and_user(context, project_id, user_id)
示例#2
0
文件: quota.py 项目: mbr4v0v/manila
    def destroy_all_by_project_and_user(self, context, project_id, user_id):
        """
        Destroy all quotas, usages, and reservations associated with a
        project and user.

        :param context: The request context, for access checks.
        :param project_id: The ID of the project being deleted.
        :param user_id: The ID of the user being deleted.
        """

        db.quota_destroy_all_by_project_and_user(context, project_id, user_id)