ILIAS  release_8 Revision v8.24
class.ilRadiusDBUpdateSteps.php
Go to the documentation of this file.
1<?php
2
20{
21 protected \ilDBInterface $db;
22
23 public function prepare(\ilDBInterface $db): void
24 {
25 $this->db = $db;
26 }
27
28 public function step_1(): void
29 {
30 $this->db->manipulate("UPDATE usr_data " .
31 "SET active=" . $this->db->quote(0, "integer") .
32 ",auth_mode=" . $this->db->quote("local", "text") .
33 ",passwd_enc_type=" . $this->db->quote("bcryptphp", "text") .
34 ",passwd=" . $this->db->quote("dummy", "text") .
35
36 "WHERE auth_mode=" . $this->db->quote("radius", "text"));
37 }
38}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
prepare(\ilDBInterface $db)
Prepare the execution of the steps.
Interface ilDBInterface.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...