abuse_admin_status

Definition

abuse_admin_status($type, $oid)
abuse/abuse.admin.inc, line 340

Code

<?php
function abuse_admin_status($type, $oid) {
  if ('user' === drupal_strtolower($type)) {
    return abuse_admin_user($oid);
  }
  $object = _abuse_load($type, $oid);
  if ($object->oid) {
    $reports[] = $object;
  }
  else {
    return drupal_not_found();
  }
  return theme('abuse_page', $reports);
}
?>