From 1010d99fd20dfff8d4849bd5a2a19f8fc5a7bae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Sun, 31 Dec 2023 15:20:13 +0100 Subject: [PATCH] Disable EGH check '[3] repositories without branches' --- www/extern/egg/EGGDatabase.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/www/extern/egg/EGGDatabase.php b/www/extern/egg/EGGDatabase.php index 62b1ef8..fbe851a 100644 --- a/www/extern/egg/EGGDatabase.php +++ b/www/extern/egg/EGGDatabase.php @@ -596,14 +596,14 @@ WHERE md1.parent != '' AND check_hash IS NULL", []); } } - // ======== [3] repositories without branches ========== - { - $errors = $this->sql_query_assoc_prep("SELECT repositories.*, (SELECT COUNT(*) FROM branches WHERE repositories.id = branches.repo_id) AS branch_count FROM repositories WHERE branch_count = 0", []); - - foreach ($errors as $e) { - $result []= "Found repository [".$e['id']."]'".$e['name']."' without any branches"; - } - } +# // ======== [3] repositories without branches ========== +# { +# $errors = $this->sql_query_assoc_prep("SELECT repositories.*, (SELECT COUNT(*) FROM branches WHERE repositories.id = branches.repo_id) AS branch_count FROM repositories WHERE branch_count = 0", []); +# +# foreach ($errors as $e) { +# $result []= "Found repository [".$e['id']."]'".$e['name']."' without any branches"; +# } +# } // ======== [4] branches without commits ==========