From 97f155c7fad719c7a75842a30e37cd6390f3c0d8 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 23 Nov 2018 10:31:54 +0100 Subject: buildmaster/mysql-issues.php: num_rows is already the count --- buildmaster/mysql-issues.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildmaster/mysql-issues.php b/buildmaster/mysql-issues.php index 1ca07bc..292ba3f 100644 --- a/buildmaster/mysql-issues.php +++ b/buildmaster/mysql-issues.php @@ -81,7 +81,7 @@ require_once BASE . "/lib/mysql.php"; "`install_targets`.`name`" ); - print " Found " . count( $result -> num_rows ) . " serious issues.
\n"; + print " Found " . $result -> num_rows . " serious issues.
\n"; while ( $row = $result -> fetch_assoc() ) { if ($row["is_to_be_deleted"]==1) @@ -158,7 +158,7 @@ require_once BASE . "/lib/mysql.php"; " ORDER BY `binary_packages_in_repositories`.`is_to_be_deleted`,`binary_packages`.`pkgname`,`install_targets`.`name`" ); - print " Found " . count( $result -> num_rows ) . " stability issues.
\n"; + print " Found " . $result -> num_rows . " stability issues.
\n"; while ( $row = $result -> fetch_assoc() ) { if ($row["is_to_be_deleted"]==1) -- cgit v1.2.3-70-g09d2