Skip to content

Commit f81f3ec

Browse files
author
Till Brehm
committed
Corrected some remote api examples.
1 parent 2732197 commit f81f3ec

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

remoting_client/examples/mail_user_add.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
'cc' => '',
3030
'homedir' => '/var/vmail',
3131
'autoresponder' => 'n',
32-
'autoresponder_start_date' => array('day' => 1, 'month' => 7, 'year' => 2012, 'hour' => 0, 'minute' => 0),
33-
'autoresponder_end_date' => array('day' => 20, 'month' => 7, 'year' => 2012, 'hour' => 0, 'minute' => 0),
32+
'autoresponder_start_date' => '',
33+
'autoresponder_end_date' => '',
3434
'autoresponder_text' => 'hallo',
3535
'move_junk' => 'n',
3636
'custom_mailfilter' => 'spam',

remoting_client/examples/sites_database_add.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
$params = array(
2020
'server_id' => 1,
2121
'type' => 'mysql',
22-
'website_id' => 1,
22+
'parent_domain_id' => 1,
2323
'database_name' => 'db_name2',
2424
'database_user_id' => '1',
2525
'database_ro_user_id' => '0',

remoting_client/examples/sites_database_user_add.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
'database_password' => 'db_name2'
2323
);
2424

25-
$database_id = $client->sites_database_user_add($session_id, $client_id, $params);
25+
$database_user_id = $client->sites_database_user_add($session_id, $client_id, $params);
2626

2727
echo "Database ID: ".$database_user_id."<br>";
2828

0 commit comments

Comments
 (0)