| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | public function setAccessRightListUser(int $access_right_id, string $guid_admin) |
||
| 29 | { |
||
| 30 | $query = $this->getEntityManager()->getConnection()->prepare("UPDATE user SET id_access_right = :id_access_right WHERE |
||
| 31 | guid = :guid_user |
||
| 32 | "); |
||
| 33 | $query->bindValue("id_access_right", $access_right_id, \PDO::PARAM_INT); |
||
| 34 | $query->bindValue("guid_user", $guid_admin, \PDO::PARAM_STR); |
||
| 35 | $query->execute(); |
||
| 36 | } |
||
| 37 | } |