1
0
Fork 0

Remove unused allUsers variable and query

master
Anonymous Contributor 2023-08-23 18:16:35 +02:00
parent c3106f4787
commit 497dcb85a8
1 changed files with 0 additions and 18 deletions

View File

@ -142,24 +142,6 @@
$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';
$opensim = new OpenSim();