X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2FttUser.class.php;h=3461ac5bfa4fd6418093ce59966fdad28a892683;hb=0a7886b373c91ef0c2c41307f81177d043c807be;hp=85b26d517d17b7b565456c6da459ab9f3c41d33f;hpb=2ff04a2baeaa449ab30b822e2bb52ff792776753;p=timetracker.git diff --git a/WEB-INF/lib/ttUser.class.php b/WEB-INF/lib/ttUser.class.php index 85b26d51..3461ac5b 100644 --- a/WEB-INF/lib/ttUser.class.php +++ b/WEB-INF/lib/ttUser.class.php @@ -305,14 +305,13 @@ class ttUser { if ($one_user['id'] == $this->behalf_id) return true; } - return false; } // adjustBehalfId attempts to adjust behalf_id and behalf_name to a first found - // aapropriate user. + // apropriate user. // - // Needed for situations when use does not have do_own_something right. + // Needed for situations when user does not have do_own_something right. // Example: has view_charts but does not have view_own_charts. // In this case we still allow access to charts, but set behalf_id to someone else. function adjustBehalfId() {