◆ prepare()
◆ step_1()
creates a column "rid" that is used to reference d IRSS Resource for a Profile Picture
Definition at line 43 of file class.ilUserDB90.php.
45 if (!$this->db->tableColumnExists(self::USER_DATA_TABLE_NAME,
'rid')) {
46 $this->db->addTableColumn(
◆ step_10()
Definition at line 124 of file class.ilUserDB90.php.
References $res, ilSecuritySettings\MAX_LOGIN_ATTEMPTS, ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
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]
◆ step_2()
Modifies the 'passwd' field in table 'usr_data' to accept longer passwords.
Definition at line 62 of file class.ilUserDB90.php.
64 if ($this->db->tableColumnExists(self::USER_DATA_TABLE_NAME,
'passwd')) {
65 $this->db->modifyTableColumn(
◆ step_3()
◆ step_4()
Remove the special charactor selector settings from the user preferences.
Definition at line 93 of file class.ilUserDB90.php.
95 $this->db->manipulate(
"DELETE FROM usr_pref WHERE keyword LIKE 'char_selector%'");
◆ step_5()
Definition at line 98 of file class.ilUserDB90.php.
100 $query =
'ALTER TABLE ' . self::USER_DATA_TABLE_NAME .
' MODIFY firstname VARCHAR(128);';
101 $this->db->manipulate($query);
◆ step_6()
Definition at line 103 of file class.ilUserDB90.php.
105 $query =
'ALTER TABLE ' . self::USER_DATA_TABLE_NAME .
' MODIFY lastname VARCHAR(128);';
106 $this->db->manipulate($query);
◆ step_7()
Definition at line 108 of file class.ilUserDB90.php.
110 $query =
'ALTER TABLE ' . self::USER_DATA_TABLE_NAME .
' MODIFY email VARCHAR(128);';
111 $this->db->manipulate($query);
◆ step_8()
Definition at line 113 of file class.ilUserDB90.php.
115 $query =
'DELETE FROM rbac_ta WHERE typ_id=22 AND ops_id=48 ;';
116 $this->db->manipulate($query);
◆ step_9()
Definition at line 118 of file class.ilUserDB90.php.
120 $query =
'DELETE FROM settings WHERE module="common" AND keyword="user_adm_alpha_nav";';
121 $this->db->manipulate($query);
◆ $db
◆ USER_DATA_TABLE_NAME
| const ilUserDB90::USER_DATA_TABLE_NAME = 'usr_data' |
|
private |
The documentation for this class was generated from the following file: