Commit 368508a0 authored by Cédric Anne's avatar Cédric Anne Committed by Johan Cwiklinski

Add history for consumable items; fixes #3034

parent 7396f154
......@@ -43,6 +43,7 @@ if (!defined('GLPI_ROOT')) {
class ConsumableItem extends CommonDBTM {
// From CommonDBTM
static protected $forward_entity_to = ['Consumable', 'Infocom'];
public $dohistory = true;
protected $usenotepad = true;
static $rightname = 'consumable';
......@@ -118,6 +119,7 @@ class ConsumableItem extends CommonDBTM {
$this->addStandardTab('Document_Item', $ong, $options);
$this->addStandardTab('Link', $ong, $options);
$this->addStandardTab('Notepad', $ong, $options);
$this->addStandardTab('Log', $ong, $options);
return $ong;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment