Put each global on a new line
This commit is contained in:
parent
d32b8a6452
commit
94ceb10771
1 changed files with 5 additions and 2 deletions
|
@ -148,8 +148,11 @@ function err_callback($errno, $errmsg, $filename, $linenum, $vars)
|
|||
*/
|
||||
function checkUserValidity($login, $password, $clientApplication, $cp, &$id, &$reason, &$priv, &$extended, &$domainId, $lang)
|
||||
{
|
||||
global $DBHost, $DBUserName, $DBPassword, $DBName, $AcceptUnknownUser;
|
||||
|
||||
global $DBHost;
|
||||
global $DBUserName;
|
||||
global $DBPassword;
|
||||
global $DBName;
|
||||
global $AcceptUnknownUser;
|
||||
setMsgLanguage($lang);
|
||||
|
||||
$link = mysqli_connect($DBHost, $DBUserName, $DBPassword) or die(errorMsgBlock(3004, 'main', $DBHost, $DBUserName));
|
||||
|
|
Loading…
Reference in a new issue