You are here

function legal_get_accept in Legal 5

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

File

./legal.module, line 639

Code

function legal_get_accept($uid) {
  $accept = db_fetch_object(db_query("SELECT * FROM {legal_accepted} WHERE uid = '%d' ORDER BY legal_id DESC LIMIT 1", $uid));
  return $accept;
}