* Modified classes: ttSysConfig, ttUser and CustomFields plugin
var $mdb2 = null;
// Constructor.
- function ttSysConfig($u_id) {
+ function __construct($u_id) {
$this->u_id = $u_id;
$this->mdb2 = getConnection();
}
var $rights = 0; // A mask of user rights.
// Constructor.
- function ttUser($login, $id = null) {
+ function __construct($login, $id = null) {
if (!$login && !$id) {
// nothing to initialize
return;
var $options = array(); // Array of options for a dropdown custom field.
// Constructor.
- function CustomFields($team_id) {
+ function __construct($team_id) {
$mdb2 = getConnection();
// Get fields.