Skip to content

Commit 14067ad

Browse files
authored
Update 1008.php
1 parent 600c16b commit 14067ad

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

upload/install/model/upgrade/1008.php

+12-12
Original file line numberDiff line numberDiff line change
@@ -106,24 +106,24 @@ public function upgrade(): void {
106106
}
107107

108108
// 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'");
110110

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+
//}
114114

115115
// 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'");
117117

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+
//}
121121

122122
// 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'");
124124

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+
//}
128128
}
129129
}

0 commit comments

Comments
 (0)