forked from extern/egroupware
Add missed tracking file, required before history logging works
This commit is contained in:
parent
e99ab7aff5
commit
4fce430ef9
45
resources/inc/class.resources_tracking.inc.php
Normal file
45
resources/inc/class.resources_tracking.inc.php
Normal file
@ -0,0 +1,45 @@
|
||||
<?php
|
||||
/**
|
||||
* Resources - history & notifications
|
||||
*
|
||||
* @author Nathan Gray
|
||||
* @copyright 2012 Nathan Gray
|
||||
* @package resources
|
||||
* @sub-package history
|
||||
* @see bo_tracking
|
||||
*
|
||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Resources - tracking object for history
|
||||
*/
|
||||
class resources_tracking extends bo_tracking
|
||||
{
|
||||
|
||||
|
||||
public function __construct() {
|
||||
$this->appname = 'resources';
|
||||
$this->id_field = 'res_id';
|
||||
|
||||
$this->field2history = array(
|
||||
'res_id' => 'res_id',
|
||||
'name' => 'name',
|
||||
'short_description' => 'short_description',
|
||||
'cat_id' => 'cat_id',
|
||||
'quantity' => 'quantity',
|
||||
'useable' => 'useable',
|
||||
'location' => 'location',
|
||||
'storage_info' => 'storage_info',
|
||||
'bookable' => 'bookable',
|
||||
'buyable' => 'buyable',
|
||||
'prize' => 'prize',
|
||||
'long_description' => 'long_description',
|
||||
'inventory_number' => 'inventory_number',
|
||||
'accessory_of' => 'accessory_of'
|
||||
);
|
||||
parent::__construct($this->appname);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user