function legal_get_accept in Legal 5
Same name and namespace in other branches
- 8 legal.module \legal_get_accept()
- 6.8 legal.module \legal_get_accept()
- 6.7 legal.module \legal_get_accept()
- 7.2 legal.module \legal_get_accept()
- 7 legal.module \legal_get_accept()
- 2.0.x legal.module \legal_get_accept()
2 calls to legal_get_accept()
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;
}