abuse_admin_assign_to_superadmin

Definition

abuse_admin_assign_to_superadmin($type = NULL, $oid = NULL)
abuse/abuse.admin.inc, line 400

Code

<?php
function abuse_admin_assign_to_superadmin($type = NULL, $oid = NULL) {
  $object = _abuse_load($type, $oid);
  $status = FALSE;
  $message = t('Sorry, this content could not be sent to the super moderator');
  if ($object->oid) {
    _abuse_assign_superadmin($type, $oid);
    $status = TRUE;
    $message = t('Item sent to super moderator: %title', array('%title' => $object->title));
  }
  return array('status' => $status, 'data' => $message);
}
?>