delete( $arg_user_id, $arg_client_id ); if(!$deleted){ //Error Block: Failed to delete user's client include_once CORE_PATH . '/Debug/Error.php'; $error = Error::init(200006); $return['errors'][] = $error; return $return; } $return['clients'] = array(); return $return; }