You are here

function legal_version_check in Legal 5

Same name and namespace in other branches
  1. 8 legal.module \legal_version_check()
  2. 6.8 legal.module \legal_version_check()
  3. 6.7 legal.module \legal_version_check()
  4. 7.2 legal.module \legal_version_check()
  5. 7 legal.module \legal_version_check()
  6. 2.0.x legal.module \legal_version_check()
1 call to legal_version_check()
legal_user in ./legal.module

File

./legal.module, line 719

Code

function legal_version_check($uid, $current_tc_id) {
  $legal_account = legal_get_accept($uid);
  if ($legal_account->tc_id == $current_tc_id) {
    return TRUE;
  }

  // get change log messages
  return $log_messages;
}