From: Michael Tremer Date: Wed, 20 Sep 2023 15:35:53 +0000 (+0000) Subject: users: Obviously we need to account for deleted builds/jobs X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=425783ca2a290ed21f946d0713302528c59c7a4f;p=pbs.git users: Obviously we need to account for deleted builds/jobs Signed-off-by: Michael Tremer --- diff --git a/src/buildservice/users.py b/src/buildservice/users.py index ebc3bb31..6d21f89d 100644 --- a/src/buildservice/users.py +++ b/src/buildservice/users.py @@ -67,10 +67,6 @@ WITH_EXCEEDED_QUOTAS_CTE = """ users.deleted_at IS NULL AND users.daily_build_quota IS NOT NULL - AND - builds.deleted_at IS NULL - AND - jobs.deleted_at IS NULL AND jobs.started_at IS NOT NULL AND