mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 21:01:30 +02:00
fixed bug on creation of db via setup (SQL error on setting up the grants)
This commit is contained in:
parent
0f8224fd47
commit
8af7e93dac
@ -719,6 +719,10 @@
|
|||||||
*/
|
*/
|
||||||
function create_database($adminname = '', $adminpasswd = '')
|
function create_database($adminname = '', $adminpasswd = '')
|
||||||
{
|
{
|
||||||
|
$currentUser = $this->User;
|
||||||
|
$currentPassword = $this->Password;
|
||||||
|
$currentDatabase = $this->Database;
|
||||||
|
|
||||||
$extra = array();
|
$extra = array();
|
||||||
switch ($this->type)
|
switch ($this->type)
|
||||||
{
|
{
|
||||||
@ -733,10 +737,6 @@
|
|||||||
echo "<p>db::create_database(user='$adminname',\$pw) not yet implemented for DB-type '$this->type'</p>\n";
|
echo "<p>db::create_database(user='$adminname',\$pw) not yet implemented for DB-type '$this->type'</p>\n";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
$currentUser = $this->User;
|
|
||||||
$currentPassword = $this->Password;
|
|
||||||
$currentDatabase = $this->Database;
|
|
||||||
|
|
||||||
if ($adminname != '')
|
if ($adminname != '')
|
||||||
{
|
{
|
||||||
$this->User = $adminname;
|
$this->User = $adminname;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user