Commit 39113e28 authored by Till Brehm's avatar Till Brehm

Fixed: FS#3143 - ISPConfig API: sites_database_add misses param website_id

parent 5e7306ab
......@@ -20,6 +20,7 @@
<p class="margin"> <span class="var">$session_id</span>, <span class="var">$client_id</span>, <span class="var">$params</span></p>
<p class="headgrp">Parameters (in <span class="var">$params</span>): </p>
<p class="margin"> server_id&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="margin"> website_id&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="margin"> type&nbsp;&nbsp;(<span class="paratype">varchar(16)</span>)</p>
<p class="margin"> database_name&nbsp;&nbsp;(<span class="paratype">varchar(64)</span>)</p>
<p class="margin"> database_user_id&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
......
......@@ -19,6 +19,7 @@ try {
$params = array(
'server_id' => 1,
'type' => 'mysql',
'website_id' => 1,
'database_name' => 'db_name2',
'database_user_id' => '1',
'database_ro_user_id' => '0',
......
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