Remove unused allUsers variable and query
parent
c3106f4787
commit
497dcb85a8
|
@ -142,24 +142,6 @@
|
||||||
$HTML->ReplaceSeitenInhalt("%%IARBUTTONSTATE%%", 'disabled');
|
$HTML->ReplaceSeitenInhalt("%%IARBUTTONSTATE%%", 'disabled');
|
||||||
}
|
}
|
||||||
|
|
||||||
$statementLocalUsers = $RUNTIME['PDO']->prepare("SELECT FirstName,LastName FROM UserAccounts ORDER BY PrincipalID ASC");
|
|
||||||
$statementLocalUsers->execute();
|
|
||||||
|
|
||||||
$allUsers = "";
|
|
||||||
while($row = $statementLocalUsers->fetch())
|
|
||||||
{
|
|
||||||
$name = '"'.$row['FirstName']." ".$row['LastName'].'"';
|
|
||||||
|
|
||||||
if($allUsers != "")
|
|
||||||
{
|
|
||||||
$allUsers .= ",".$name;
|
|
||||||
}else{
|
|
||||||
$allUsers .= $name;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$allUsers .= '," "';
|
|
||||||
|
|
||||||
include_once 'app/OpenSim.php';
|
include_once 'app/OpenSim.php';
|
||||||
$opensim = new OpenSim();
|
$opensim = new OpenSim();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue