Skip to content
Snippets Groups Projects
Commit c6320660 authored by Helmo's avatar Helmo
Browse files

Correct example code

parent 33014e3b
No related branches found
No related tags found
No related merge requests found
...@@ -21,11 +21,12 @@ try { ...@@ -21,11 +21,12 @@ try {
'domain' => 'cellar.door' 'domain' => 'cellar.door'
); );
$domain_id = $client->domains_domain_update($session_id, $client_id, $primary_id, $params); $result = $client->domains_domain_update($session_id, $client_id, $primary_id, $params);
echo "Domain ID: ".$domain_id."<br>"; if ($result) {
echo 'Domain updated.<br />';
if($client->logout($session_id)) { }
if ($client->logout($session_id)) {
echo 'Logged out.<br />'; echo 'Logged out.<br />';
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment