From e9001a93e0e5eb93303b04e7ca01a8ed2fc01358 Mon Sep 17 00:00:00 2001 From: Curtis Conard Date: Thu, 27 Jun 2024 02:55:49 -0400 Subject: [PATCH] Make CronTaskLog extend CommonDBChild (#17357) * Make CronTaskLog extend CommonDBChild * rightname not needed anymore --- src/CronTaskLog.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/CronTaskLog.php b/src/CronTaskLog.php index fedd6b03143..496b050de98 100644 --- a/src/CronTaskLog.php +++ b/src/CronTaskLog.php @@ -38,8 +38,11 @@ /** * CronTaskLog class **/ -class CronTaskLog extends CommonDBTM +class CronTaskLog extends CommonDBChild { + public static $itemtype = 'CronTask'; + public static $items_id = 'crontasks_id'; + // Class constant const STATE_START = 0; const STATE_RUN = 1;