diff --git a/assets/php/common/manager_dao.php b/assets/php/common/manager_dao.php index d646bcc..8e1a727 100644 --- a/assets/php/common/manager_dao.php +++ b/assets/php/common/manager_dao.php @@ -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".