Description:
Changes status of a web domain to 'active' or 'inactive'.
Input Variables:
$session_id, $primary_id, $status
Parameters (in $params):
None
Output:
Returns '1' if status has been changed, '0' if no changes were taken.
SQL Interaction (if status is changed to 'active'):
"UPDATE web_domain SET active = '$status' WHERE domain_id = ".intval($primary_id)