// Shall I list SQL commands assigned to an extension installation or update task?
if (((GET_EXT_VERSION('sql_patches') != '') && (getConfig('verbose_sql') == 'Y')) || (!EXT_IS_ACTIVE('sql_patches'))) {
// Shall I list SQL commands assigned to an extension installation or update task?
if (((GET_EXT_VERSION('sql_patches') != '') && (getConfig('verbose_sql') == 'Y')) || (!EXT_IS_ACTIVE('sql_patches'))) {
$ext_name = substr($subj, 1, strpos($subj, ':') - 1);
$ext_name = substr($subj, 1, strpos($subj, ':') - 1);
if ($type == 'EXTENSION') {
// Load SQL commands for registering
REGISTER_EXTENSION($ext_name, $id, true);
if ($type == 'EXTENSION') {
// Load SQL commands for registering
REGISTER_EXTENSION($ext_name, $id, true);
// Prepare extension name and version
$ext_name = substr($ext_name, 7);
$ext_name = substr($ext_name, 0, strpos($ext_name, '-'));
// Prepare extension name and version
$ext_name = substr($ext_name, 7);
$ext_name = substr($ext_name, 0, strpos($ext_name, '-'));
$ext_ver = substr($subj, strlen($test));
$ext_ver = substr($ext_ver, 0, strpos($ext_ver, ':'));
$ext_ver = substr($subj, strlen($test));
$ext_ver = substr($ext_ver, 0, strpos($ext_ver, ':'));
- $text .= EXTENSION_VERBOSE_TABLE($title, " class=\"admin_table top2 left2 right2\"", true, "100%")."<br />\n";
+ $text .= EXTENSION_VERBOSE_TABLE($title, " class=\"admin_table top2 left2 right2\"", true, '100%')."<br />\n";
} // END - if
} elseif ((!empty($ext_name)) && (!empty($ext_ver))) {
// Run SQL commands in dry mode but only return the notes
} // END - if
} elseif ((!empty($ext_name)) && (!empty($ext_ver))) {
// Run SQL commands in dry mode but only return the notes