@@ -106,24 +106,24 @@ public function upgrade(): void {
106
106
}
107
107
108
108
// Remove Affiliate `salt` column
109
- $ query = $ this ->db ->query ("SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA = ' " . DB_DATABASE . "' AND TABLE_NAME = ' " . DB_PREFIX . "affiliate' AND COLUMN_NAME = 'salt' " );
109
+ // $query = $this->db->query("SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA = '" . DB_DATABASE . "' AND TABLE_NAME = '" . DB_PREFIX . "affiliate' AND COLUMN_NAME = 'salt'");
110
110
111
- if ($ query ->num_rows ) {
112
- $ this ->db ->query ("ALTER TABLE ` " . DB_PREFIX . "affiliate` DROP COLUMN `salt` " );
113
- }
111
+ // if ($query->num_rows) {
112
+ // $this->db->query("ALTER TABLE `" . DB_PREFIX . "affiliate` DROP COLUMN `salt`");
113
+ // }
114
114
115
115
// Remove Customer `salt` column
116
- $ query = $ this ->db ->query ("SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA = ' " . DB_DATABASE . "' AND TABLE_NAME = ' " . DB_PREFIX . "customer' AND COLUMN_NAME = 'salt' " );
116
+ // $query = $this->db->query("SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA = '" . DB_DATABASE . "' AND TABLE_NAME = '" . DB_PREFIX . "customer' AND COLUMN_NAME = 'salt'");
117
117
118
- if ($ query ->num_rows ) {
119
- $ this ->db ->query ("ALTER TABLE ` " . DB_PREFIX . "customer` DROP COLUMN `salt` " );
120
- }
118
+ // if ($query->num_rows) {
119
+ // $this->db->query("ALTER TABLE `" . DB_PREFIX . "customer` DROP COLUMN `salt`");
120
+ // }
121
121
122
122
// Remove User `salt` column
123
- $ query = $ this ->db ->query ("SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA = ' " . DB_DATABASE . "' AND TABLE_NAME = ' " . DB_PREFIX . "user' AND COLUMN_NAME = 'salt' " );
123
+ // $query = $this->db->query("SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA = '" . DB_DATABASE . "' AND TABLE_NAME = '" . DB_PREFIX . "user' AND COLUMN_NAME = 'salt'");
124
124
125
- if ($ query ->num_rows ) {
126
- $ this ->db ->query ("ALTER TABLE ` " . DB_PREFIX . "user` DROP COLUMN `salt` " );
127
- }
125
+ // if ($query->num_rows) {
126
+ // $this->db->query("ALTER TABLE `" . DB_PREFIX . "user` DROP COLUMN `salt`");
127
+ // }
128
128
}
129
129
}
0 commit comments