You are here

function legal_get_conditions in Legal 6.7

Same name and namespace in other branches
  1. 8 legal.module \legal_get_conditions()
  2. 5 legal.module \legal_get_conditions()
  3. 6.8 legal.module \legal_get_conditions()
  4. 7.2 legal.module \legal_get_conditions()
  5. 7 legal.module \legal_get_conditions()
  6. 2.0.x legal.module \legal_get_conditions()
5 calls to legal_get_conditions()
legal_administration in ./legal.module
legal_conditions_updated in ./legal.module
legal_login in ./legal.module
legal_page in ./legal.module
legal_user in ./legal.module

File

./legal.module, line 667

Code

function legal_get_conditions() {
  $conditions = db_fetch_array(db_query("SELECT * FROM {legal_conditions} ORDER BY tc_id DESC LIMIT 1"));
  $conditions['extras'] = unserialize($conditions['extras']);
  return $conditions;
}