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); |
install/cli-install.php 1 location
|
@@ 1290-1293 (lines=4) @@
|
| 1287 |
|
else { |
| 1288 |
|
|
| 1289 |
|
// disable legacy versions based on legacy_names provided |
| 1290 |
|
if(!empty($leg_names)) { |
| 1291 |
|
$update_query = "UPDATE $dbase.`" . $table_prefix . "site_plugins` SET disabled='1' WHERE name IN ($leg_names);"; |
| 1292 |
|
$rs = mysqli_query($sqlParser->conn, $update_query); |
| 1293 |
|
} |
| 1294 |
|
|
| 1295 |
|
// Create the category if it does not already exist |
| 1296 |
|
$category = getCreateDbCategory($category, $sqlParser); |