From ab7896a21746c2a0738e1fade00a7982d315927d Mon Sep 17 00:00:00 2001 From: Christophe TREMBLAY-GUILLOUX Date: Fri, 26 Jan 2024 10:34:53 +0100 Subject: [PATCH] MINOR: declaring missing attribut, asked by Code Editors to detect variable --- htdocs/cron/class/cronjob.class.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/htdocs/cron/class/cronjob.class.php b/htdocs/cron/class/cronjob.class.php index ff917cc2634..3d7e31b3f26 100644 --- a/htdocs/cron/class/cronjob.class.php +++ b/htdocs/cron/class/cronjob.class.php @@ -184,6 +184,11 @@ class Cronjob extends CommonObject */ public $autodelete; + /** + * @var array Cronjob + */ + public $lines; + const STATUS_DISABLED = 0; const STATUS_ENABLED = 1; @@ -512,7 +517,6 @@ class Cronjob extends CommonObject /** * Load list of cron jobs in a memory array from the database - * @TODO Use object CronJob and not CronJobLine. * * @param string $sortorder sort order * @param string $sortfield sort field