diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f38b37..59e4bfc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [UNRELEASED] + +### Fixed + +- Do not create sessions on CRON context + ## [1.1.0] - 2025-09-29 ### Added diff --git a/inc/computergroupdynamic.class.php b/inc/computergroupdynamic.class.php index c44daf5..9446688 100644 --- a/inc/computergroupdynamic.class.php +++ b/inc/computergroupdynamic.class.php @@ -181,7 +181,6 @@ public function isDynamicSearchMatchComputer(Computer $computer) ]; if (!isset($_SESSION['glpiname'])) { - Session::start(); $_SESSION['glpiname'] = 'databaseinventory_plugin'; } $search_params = Search::manageParams('Computer', $search);