Skip to content

Commit 4a569d9

Browse files
author
Marius Cramer
committed
Merge branch 'master' into 'master'
Master
2 parents ba8b73b + fac03aa commit 4a569d9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

install/lib/installer_base.lib.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,13 @@ public function grant_master_database_rights($verbose = false) {
498498
$this->warning('Unable to set rights of user in master database: '.$value['db']."\n Query: ".$query."\n Error: ".$this->dbmaster->errorMessage);
499499
}
500500

501+
$query = "GRANT SELECT, INSERT, DELETE ON ".$value['db'].".`mail_backup` TO '".$value['user']."'@'".$host."' ";
502+
if ($verbose){
503+
echo $query ."\n";
504+
}
505+
if(!$this->dbmaster->query($query)) {
506+
$this->warning('Unable to set rights of user in master database: '.$value['db']."\n Query: ".$query."\n Error: ".$this->dbmaster->errorMessage);
507+
}
501508
}
502509

503510
/*

0 commit comments

Comments
 (0)