From ba499631861fa1b29af707fb82277660cb342e7e Mon Sep 17 00:00:00 2001 From: Christophe TREMBLAY-GUILLOUX Date: Fri, 19 Jan 2024 08:55:39 +0100 Subject: [PATCH] CLEANING: lines of code not usefull --- htdocs/cron/class/cronjob.class.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/htdocs/cron/class/cronjob.class.php b/htdocs/cron/class/cronjob.class.php index 7e55e65f8f8..833d0068e14 100644 --- a/htdocs/cron/class/cronjob.class.php +++ b/htdocs/cron/class/cronjob.class.php @@ -587,12 +587,6 @@ class Cronjob extends CommonObject $sql .= $this->db->plimit($limit + 1, $offset); } - $sqlwhere = array(); - - if (count($sqlwhere) > 0) { - $sql .= " WHERE ".implode(' AND ', $sqlwhere); - } - dol_syslog(get_class($this)."::fetchAll", LOG_DEBUG); $resql = $this->db->query($sql); if ($resql) {