From bc04b3ac76a4549bd28124157c3f549711c96a65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mu=C3=B1oz=20Garcia?= <73303506+danimu03@users.noreply.github.com> Date: Thu, 6 May 2021 12:19:16 +0200 Subject: [PATCH] update --- assets/php/common/manager_dao.php | 17 ----------------- 1 file changed, 17 deletions(-) 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".