From e8c58e8c15996388dfe122a0de11a22ef9cd9b75 Mon Sep 17 00:00:00 2001 From: Niko Storni Date: Fri, 17 Jun 2022 18:59:32 +0200 Subject: [PATCH] try 3 --- src/Controller/MainController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Controller/MainController.php b/src/Controller/MainController.php index ba9cb0d..4326a2f 100644 --- a/src/Controller/MainController.php +++ b/src/Controller/MainController.php @@ -131,8 +131,8 @@ class MainController extends AppController { $page = intval($this->request->query('page')); $conn = ConnectionManager::get('default'); - $stmt = $conn->execute('SELECT COUNT(id) AS Total FROM claim'); - $count = $stmt->fetch(\PDO::FETCH_OBJ); +// $stmt = $conn->execute('SELECT COUNT(id) AS Total FROM claim'); +// $count = $stmt->fetch(\PDO::FETCH_OBJ); $numClaims = 20000000; $stmt = $conn->execute('SELECT MAX(id) AS MaxId FROM claim');