Commit f81f3ec8 authored by Till Brehm's avatar Till Brehm

Corrected some remote api examples.

parent 27321975
......@@ -29,8 +29,8 @@ try {
'cc' => '',
'homedir' => '/var/vmail',
'autoresponder' => 'n',
'autoresponder_start_date' => array('day' => 1, 'month' => 7, 'year' => 2012, 'hour' => 0, 'minute' => 0),
'autoresponder_end_date' => array('day' => 20, 'month' => 7, 'year' => 2012, 'hour' => 0, 'minute' => 0),
'autoresponder_start_date' => '',
'autoresponder_end_date' => '',
'autoresponder_text' => 'hallo',
'move_junk' => 'n',
'custom_mailfilter' => 'spam',
......
......@@ -19,7 +19,7 @@ try {
$params = array(
'server_id' => 1,
'type' => 'mysql',
'website_id' => 1,
'parent_domain_id' => 1,
'database_name' => 'db_name2',
'database_user_id' => '1',
'database_ro_user_id' => '0',
......
......@@ -22,7 +22,7 @@ try {
'database_password' => 'db_name2'
);
$database_id = $client->sites_database_user_add($session_id, $client_id, $params);
$database_user_id = $client->sites_database_user_add($session_id, $client_id, $params);
echo "Database ID: ".$database_user_id."<br>";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment