From d9bcf68e395d6156645a7974b1a992aa6e6c00aa Mon Sep 17 00:00:00 2001 From: Marius Cramer <m.cramer@pixcept.de> Date: Mon, 14 Oct 2013 08:57:25 -0400 Subject: [PATCH] Added missing empty directories from svn import --- remoting_client/examples/client_add.php | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/remoting_client/examples/client_add.php b/remoting_client/examples/client_add.php index e95e896..95faffd 100644 --- a/remoting_client/examples/client_add.php +++ b/remoting_client/examples/client_add.php @@ -15,7 +15,7 @@ } //* Set the function parameters. - $random_rs_id = 1; + $reseller_id = 0; // this id has to be 0 if the client shall not be assigned to admin or if the client is a reseller $params = array( 'company_name' => 'awesomecompany', 'contact_name' => 'name', @@ -25,7 +25,7 @@ 'zip' => '21337', 'city' => 'london', 'state' => 'bavaria', - 'country' => 'UK', + 'country' => 'GB', 'telephone' => '123456789', 'mobile' => '987654321', 'fax' => '546718293', @@ -33,7 +33,7 @@ 'internet' => '', 'icq' => '111111111', 'notes' => 'awesome', - 'dafault_mailserver' => 1, + 'default_mailserver' => 1, 'limit_maildomain' => -1, 'limit_mailbox' => -1, 'limit_mailalias' => -1, @@ -68,9 +68,9 @@ 'limit_cron_type' => 'url', 'limit_cron_frequency' => 5, 'limit_traffic_quota' => -1, - 'limit_client' => 0, + 'limit_client' => 0, // If this value is > 0, then the client is a reseller 'parent_client_id' => 0, - 'username' => 'guy', + 'username' => 'guy3', 'password' => 'brush', 'language' => 'en', 'usertheme' => 'default', @@ -79,7 +79,7 @@ 'created_at' => 0 ); - $affected_rows = $client->client_add($session_id, $random_rs_id, $params); + $affected_rows = $client->client_add($session_id, $reseller_id, $params); echo "Client: ".$affected_rows."<br>"; -- Gitblit v1.9.1