Merge branch 'QA_4_6'
This commit is contained in:
commit
fc4ee9a9e4
@ -2970,6 +2970,13 @@ function PMA_getUserGroupCount()
|
||||
function PMA_getUserGroupForUser($username)
|
||||
{
|
||||
$cfgRelation = PMA_getRelationsParam();
|
||||
|
||||
if (! isset($cfgRelation['db'])
|
||||
|| ! isset($cfgRelation['users'])
|
||||
) {
|
||||
return null;
|
||||
}
|
||||
|
||||
$user_table = Util::backquote($cfgRelation['db'])
|
||||
. '.' . Util::backquote($cfgRelation['users']);
|
||||
$sql_query = 'SELECT `usergroup` FROM ' . $user_table
|
||||
|
||||
Loading…
Reference in New Issue
Block a user