Merge pull request #27645 from libremaster/develop

CLEANING: lines of code not usefull
This commit is contained in:
Laurent Destailleur 2024-01-19 21:10:56 +01:00 committed by GitHub
commit a74014c101
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) {