Dead code.
This commit is contained in:
@@ -547,12 +547,10 @@ function PMA_auth_set_user()
|
|||||||
} // end foreach
|
} // end foreach
|
||||||
} // end if
|
} // end if
|
||||||
|
|
||||||
$pma_server_changed = false;
|
|
||||||
if ($GLOBALS['cfg']['AllowArbitraryServer']
|
if ($GLOBALS['cfg']['AllowArbitraryServer']
|
||||||
&& ! empty($GLOBALS['pma_auth_server'])
|
&& ! empty($GLOBALS['pma_auth_server'])
|
||||||
&& $cfg['Server']['host'] != $GLOBALS['pma_auth_server']) {
|
&& $cfg['Server']['host'] != $GLOBALS['pma_auth_server']) {
|
||||||
$cfg['Server']['host'] = $GLOBALS['pma_auth_server'];
|
$cfg['Server']['host'] = $GLOBALS['pma_auth_server'];
|
||||||
$pma_server_changed = true;
|
|
||||||
}
|
}
|
||||||
$cfg['Server']['user'] = $GLOBALS['PHP_AUTH_USER'];
|
$cfg['Server']['user'] = $GLOBALS['PHP_AUTH_USER'];
|
||||||
$cfg['Server']['password'] = $GLOBALS['PHP_AUTH_PW'];
|
$cfg['Server']['password'] = $GLOBALS['PHP_AUTH_PW'];
|
||||||
|
Reference in New Issue
Block a user