X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/61284ea9e69220c9fc6a537bf0437584b1525367..040c6516659e15f360159859b783e3722e86f370:/WEB-INF/lib/ttUser.class.php diff --git a/WEB-INF/lib/ttUser.class.php b/WEB-INF/lib/ttUser.class.php index 16e2d2d1..a40a5fda 100644 --- a/WEB-INF/lib/ttUser.class.php +++ b/WEB-INF/lib/ttUser.class.php @@ -205,6 +205,11 @@ class ttUser { return ($this->behalfGroup ? $this->behalfGroup->time_format : $this->time_format); } + // getWeekStart returns week start day for active group. + function getWeekStart() { + return ($this->behalfGroup ? $this->behalfGroup->week_start : $this->week_start); + } + // getTrackingMode returns tracking mode for active group. function getTrackingMode() { return ($this->behalfGroup ? $this->behalfGroup->tracking_mode : $this->tracking_mode);