$SW = 2; $OUT = "";
foreach (REQUEST_POST('sel') as $ext_id => $sel) {
// Init variables
- $VERBOSE_OUT = ""; $SQLs = array();
+ $VERBOSE_OUT = ""; INIT_SQLS();
// Secure id number
$ext_id = bigintval($ext_id);
if (getConfig('verbose_sql') == "Y") {
// Load SQL commands in remove mode
- if (LOAD_EXTENSION($ext_name, "remove", "", true, $SQLs)) {
+ if (LOAD_EXTENSION($ext_name, "remove", "", true)) {
// Generate extra table with loaded SQL commands
- $VERBOSE_OUT = EXTENSION_VERBOSE_TABLE($SQLs);
+ $VERBOSE_OUT = EXTENSION_VERBOSE_TABLE();
} // END - if
} // END - if
$ext_name = trim(substr($subj, 1, strpos($subj, ":") - 1));
// Test the extension for deprecation
- global $EXT_DEPRECATED;
LOAD_EXTENSION($ext_name, "test");
// Is the extension deprecated?
- if ($EXT_DEPRECATED == "N") {
+ if (EXT_GET_DEPRECATED() == "N") {
// ... so we can finally register and load it in registration mode
$status = EXTENSION_REGISTER($ext_name, $ext_id);
if ($status == true) {