- $ext_name = ''; $ext_ver = '';
- $title = '{--TASK_NO_TITLE--}';
-
- // Shall I list SQL commands assigned to an extension installation or update task?
- if ((getConfig('verbose_sql') == 'Y')) {
- // Extract extension name from subject
- $ext_name = substr($taskData['subject'], 1, strpos($taskData['subject'], ':') - 1);
-
- // Update task or extension task?
- if (($taskData['task_type'] == 'EXTENSION') && (!isExtensionInstalled($ext_name))) {
- // Load SQL commands for registering in dry-run
- registerExtension($ext_name, $id, true);
-
- // Is this non-productive?
- if (isExtensionProductive() === false) {
- // Issue warning
- $taskData['text'] .= loadTemplate('admin_settings_saved', true, getMaskedMessage('ADMIN_EXTENSION_IS_NON_PRODUCTIVE', $ext_name));
- } // END - if