install/cli-install.php 1 location
|
@@ 1274-1277 (lines=4) @@
|
| 1271 |
|
else { |
| 1272 |
|
|
| 1273 |
|
// disable legacy versions based on legacy_names provided |
| 1274 |
|
if(!empty($leg_names)) { |
| 1275 |
|
$update_query = "UPDATE $dbase.`" . $table_prefix . "site_plugins` SET disabled='1' WHERE name IN ($leg_names);"; |
| 1276 |
|
$rs = mysqli_query($sqlParser->conn, $update_query); |
| 1277 |
|
} |
| 1278 |
|
|
| 1279 |
|
// Create the category if it does not already exist |
| 1280 |
|
$category = getCreateDbCategory($category, $sqlParser); |
install/instprocessor.php 1 location
|
@@ 560-563 (lines=4) @@
|
| 557 |
|
else { |
| 558 |
|
|
| 559 |
|
// disable legacy versions based on legacy_names provided |
| 560 |
|
if(!empty($leg_names)) { |
| 561 |
|
$update_query = "UPDATE $dbase.`" . $table_prefix . "site_plugins` SET disabled='1' WHERE name IN ($leg_names);"; |
| 562 |
|
$rs = mysqli_query($sqlParser->conn, $update_query); |
| 563 |
|
} |
| 564 |
|
|
| 565 |
|
// Create the category if it does not already exist |
| 566 |
|
$category = getCreateDbCategory($category, $sqlParser); |