diff --git a/htdocs/core/modules/DolibarrModules.class.php b/htdocs/core/modules/DolibarrModules.class.php index 57c2eb780f00b..2eaef0842e9c6 100644 --- a/htdocs/core/modules/DolibarrModules.class.php +++ b/htdocs/core/modules/DolibarrModules.class.php @@ -1606,6 +1606,7 @@ public function insert_cronjobs() // phpcs:enable include_once DOL_DOCUMENT_ROOT . '/core/class/infobox.class.php'; include_once DOL_DOCUMENT_ROOT . '/cron/class/cronjob.class.php'; + include_once DOL_DOCUMENT_ROOT . '/user/class/user.class.php'; global $conf, $user;