X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/4334f16faa68ecaec5aceb5c16bb500d62a3688f..a8967b288d201edff6e4f87e7b0bccb1bf55c483:/WEB-INF/lib/ttGroup.class.php diff --git a/WEB-INF/lib/ttGroup.class.php b/WEB-INF/lib/ttGroup.class.php index c3a56e05..2a5eb1dc 100644 --- a/WEB-INF/lib/ttGroup.class.php +++ b/WEB-INF/lib/ttGroup.class.php @@ -41,7 +41,6 @@ class ttGroup { var $date_format = null; // Date format. var $time_format = null; // Time format. var $week_start = 0; // Week start day. - var $show_holidays = 0; // Whether to show holidays in calendar. var $tracking_mode = 0; // Tracking mode. var $project_required = 0; // Whether project selection is required on time entires. var $task_required = 0; // Whether task selection is required on time entires. @@ -60,6 +59,7 @@ class ttGroup { var $custom_logo = 0; // Whether to use a custom logo for group. var $lock_spec = null; // Cron specification for record locking. + var $holidays = null; // Holidays specification. var $workday_minutes = 480; // Number of work minutes in a regular day. var $active_users = 0; // Count of active users in group. @@ -103,6 +103,7 @@ class ttGroup { $this->currency = $val['currency']; $this->plugins = $val['plugins']; $this->lock_spec = $val['lock_spec']; + $this->holidays = $val['holidays']; $this->workday_minutes = $val['workday_minutes']; /* $this->custom_logo = $val['custom_logo']; @@ -112,7 +113,6 @@ class ttGroup { $this->config = $val['config']; $this->configHelper = new ttConfigHelper($val['config']); // Set user config options. - $this->show_holidays = $this->configHelper->getDefinedValue('show_holidays'); $this->punch_mode = $this->configHelper->getDefinedValue('punch_mode'); $this->allow_overlap = $this->configHelper->getDefinedValue('allow_overlap'); $this->future_entries = $this->configHelper->getDefinedValue('future_entries');