// Get extension name
$ext_name = getExtensionName($taskId);
- if (getConfig('verbose_sql') == 'Y') {
+ if (isVerboseSqlEnabled()) {
// Load SQL commands in remove mode
if (loadExtension($ext_name, 'remove', '', true)) {
// Generate extra table with loaded SQL commands