Skip to content

Commit 340cf4b

Browse files
committed
Removed the check for the existence of the table and field.
1 parent ff2c080 commit 340cf4b

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

upgrade/php/ps_900_init_feature_value_positions.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,6 @@
1919
*/
2020
function ps_900_init_feature_value_positions()
2121
{
22-
if (empty(DbWrapper::executeS('SHOW TABLES LIKE "' . _DB_PREFIX_ . 'feature_value"'))) {
23-
return;
24-
}
25-
26-
if (empty(DbWrapper::executeS('SHOW COLUMNS FROM `' . _DB_PREFIX_ . "feature_value` WHERE Field = 'position'"))) {
27-
return;
28-
}
29-
3022
$hasInitializedPositions = (int) DbWrapper::getValue('
3123
SELECT COUNT(*)
3224
FROM `' . _DB_PREFIX_ . 'feature_value`

0 commit comments

Comments
 (0)