"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "inc/purgelogs.class.php" between
glpi-9.3.3.tgz and glpi-9.4.0.tgz

About: GLPI is an IT and asset management software (Information Resource Manager).

purgelogs.class.php  (glpi-9.3.3.tgz):purgelogs.class.php  (glpi-9.4.0.tgz)
skipping to change at line 332 skipping to change at line 332
* *
* @return void * @return void
*/ */
static function purgePlugins() { static function purgePlugins() {
global $DB, $CFG_GLPI; global $DB, $CFG_GLPI;
$month = self::getDateModRestriction($CFG_GLPI['purge_plugins']); $month = self::getDateModRestriction($CFG_GLPI['purge_plugins']);
if ($month) { if ($month) {
$DB->delete( $DB->delete(
'glpi_logs', [ 'glpi_logs', [
'itemtype' => ['LIKE' => 'Plugin%'] 'itemtype' => ['LIKE', 'Plugin%']
] + $month ] + $month
); );
} }
} }
/** /**
* Purge all logs * Purge all logs
* *
* @return void * @return void
*/ */
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)