var $week_start = 0; // Week start day.
var $tracking_mode = 0; // Tracking mode.
var $record_type = 0; // Record type (duration vs start and finish, or both).
- var $uncompleted_entries = 0; // Uncompleted entries (show nowhere or on users page).
+ var $uncompleted_indicators = 0; // Uncompleted time entry indicators (show nowhere or on users page).
var $currency = null; // Currency.
var $plugins = null; // Comma-separated list of enabled plugins.
var $team = null; // Team name.
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;
$this->week_start = $val['week_start'];
$this->tracking_mode = $val['tracking_mode'];
$this->record_type = $val['record_type'];
- $this->uncompleted_entries = $val['uncompleted_indicators'];
+ $this->uncompleted_indicators = $val['uncompleted_indicators'];
$this->team = $val['team_name'];
$this->address = $val['address'];
$this->currency = $val['currency'];