45 if (!$this->db->tableColumnExists(self::USER_DATA_TABLE_NAME,
'rid')) {
46 $this->db->addTableColumn(
64 if ($this->db->tableColumnExists(self::USER_DATA_TABLE_NAME,
'passwd')) {
65 $this->db->modifyTableColumn(
80 $this->db->modifyTableColumn(
95 $this->db->manipulate(
"DELETE FROM usr_pref WHERE keyword LIKE 'char_selector%'");
100 $query =
'ALTER TABLE ' . self::USER_DATA_TABLE_NAME .
' MODIFY firstname VARCHAR(128);';
101 $this->db->manipulate($query);
105 $query =
'ALTER TABLE ' . self::USER_DATA_TABLE_NAME .
' MODIFY lastname VARCHAR(128);';
106 $this->db->manipulate($query);
110 $query =
'ALTER TABLE ' . self::USER_DATA_TABLE_NAME .
' MODIFY email VARCHAR(128);';
111 $this->db->manipulate($query);
115 $query =
'DELETE FROM rbac_ta WHERE typ_id=22 AND ops_id=48 ;';
116 $this->db->manipulate($query);
120 $query =
'DELETE FROM settings WHERE module="common" AND keyword="user_adm_alpha_nav";';
121 $this->db->manipulate($query);
126 $query =
'SELECT value FROM settings WHERE module = %s AND keyword = %s';
127 $res = $this->db->queryF(
130 [
'common',
'ps_login_max_attempts']
134 $max_login_attempts = min(
139 $max_login_attempts_exceeded = $max_login_attempts + 1;
141 $this->db->manipulateF(
142 'UPDATE usr_data SET login_attempts = %s WHERE login_attempts > %s',
144 [$max_login_attempts_exceeded, $max_login_attempts_exceeded]
const USER_DATA_TABLE_NAME
step_2()
Modifies the 'passwd' field in table 'usr_data' to accept longer passwords.
step_1()
creates a column "rid" that is used to reference d IRSS Resource for a Profile Picture ...
prepare(ilDBInterface $db)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
step_4()
Remove the special charactor selector settings from the user preferences.