Skip to content
Snippets Groups Projects
Commit 14b1ad7b authored by Claudiu Cristea's avatar Claudiu Cristea
Browse files

ISAICP-8985: Re-run user_update_10000() after removing the bundle.

parent 72df286a
No related branches found
No related tags found
1 merge request!181Release v1.111.0
......@@ -37,18 +37,10 @@ function joinup_rdf_requirements(string $phase): array {
return $requirements;
}
/**
* Re run user_update_10000.
*/
function joinup_rdf_update_111101(): void {
require_once DRUPAL_ROOT . '/core/modules/user/user.install';
user_update_10000();
}
/**
* Delete the asset_release RDF bundle. Enable joinup_release, joinup_solution.
*/
function joinup_rdf_update_111102(): void {
function joinup_rdf_update_111101(): void {
// Delete the asset_release RDF bundle.
\Drupal::entityTypeManager()->getStorage('rdf_type')->load('asset_release')->delete();
......@@ -56,3 +48,11 @@ function joinup_rdf_update_111102(): void {
// have some dependency on the services provided by the joinup_release module.
\Drupal::service('module_installer')->install(['joinup_release', 'joinup_solution']);
}
/**
* Re-run user_update_10000.
*/
function joinup_rdf_update_111102(): void {
require_once DRUPAL_ROOT . '/core/modules/user/user.install';
user_update_10000();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment