X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/8bc57bab34ec45117348070eec17fb3d00f327fd..30f8a1f84e62b9dc60f6fdd5682a382ed10a0583:/WEB-INF/lib/ttUser.class.php diff --git a/WEB-INF/lib/ttUser.class.php b/WEB-INF/lib/ttUser.class.php index 14e7007b..62c786ce 100644 --- a/WEB-INF/lib/ttUser.class.php +++ b/WEB-INF/lib/ttUser.class.php @@ -248,6 +248,11 @@ class ttUser { return ($this->behalfGroup ? $this->behalfGroup->configHelper->getConfig() : $this->configHelper->getConfig()); } + // getConfigHelper returns ttConfigHelper instance for active group. + function getConfigHelper() { + return ($this->behalfGroup ? $this->behalfGroup->configHelper : $this->configHelper); + } + // getConfigOption returns true if an option is defined for group. // This helps us keeping a set of user attributes smaller. // We determine whether the option is set only on pages that need to know.