- // isUserValid function is used during access checks and determines whether user id, passed in post, is valid
- // in current context.
- static function isUserValid($user_id) {
- // We have to cover several situations.
-
- global $user;
-
- // TODO: we are currently re-designing timesheets.
- // Clients are not supposed to view them at all.
- // And the post will change on_behalf user, to keep things consistent.
- return false;
- }
-