Note:
1. This is more advisory than functional - the functionality is really in the runtime bits
in the previous commits.
2. Technically, this is more of a disable, but we should keep the record around in
`civicrm_extension` so that we know the old schema revision.
$messages[] = ts('The obsolete extension %1 could not be removed due to an error. It is recommended to remove this extension manually.', [1 => $key]);
}
}
+ if (!empty($obsolete['force-uninstall'])) {
+ CRM_Core_DAO::executeQuery('UPDATE civicrm_extension SET is_active = 0 WHERE full_name = %1', [
+ 1 => [$key, 'String'],
+ ]);
+ }
}
}
if ($messages) {