X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/3d6637d9e14122d6998e0be59e9138d41733d5db..f22a586b11af9c617fdc4241d3ffa0344d4d6a50:/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.