This commit is contained in:
Daniel Muñoz Garcia 2021-05-06 12:19:16 +02:00 committed by GitHub
parent 64af5a6357
commit bc04b3ac76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,23 +48,6 @@
$resul = mysqli_query($this->mysqli, $sql) or die ('Error into query database');
return $resul;
}
/*public function selectManager($username){
$username = $this->mysqli->real_escape_string($username);
$sql = sprintf( "SELECT * FROM users WHERE username = '%s'", $username );
$resul = mysqli_query($this->mysqli, $sql) or die ('Error into query database');
$resul->data_seek(0);
while ($fila = $resul->fetch_assoc()) {
$user = $this->loadUser($fila['id'], $fila['username'], $fila['email'], $fila['passwd'], $fila['rol']);
}
//mysqli_free_result($selectUser);
$resul->free();
return $user;
} */
//Deleted manager by "id".