X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2FttGroup.class.php;h=2a5eb1dcff3c18c5b89a0c2d219a20d0a8009275;hb=8bc57bab34ec45117348070eec17fb3d00f327fd;hp=c3a56e05540605a8f164c84f39829d505178b311;hpb=4334f16faa68ecaec5aceb5c16bb500d62a3688f;p=timetracker.git 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');