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

Issue #3492981 by claudiu.cristea: Wrong update hook

parent 96633a86
No related branches found
Tags 1.0.0-alpha16
1 merge request!32Bug #3492981: Wrong update hook
Pipeline #364710 passed
......@@ -65,14 +65,14 @@ function rdf_sync_uninstall($is_syncing): void {
/**
* Convert configuration to a plugin system.
*/
function rdf_sync_update_1001(): void {
function rdf_sync_update_8001(): void {
$config = \Drupal::configFactory()->getEditable('rdf_sync.settings');
$basic = $config->get('endpoint');
$basic = ['endpoint' => 'basic'] + $basic + [
'credentials' => ['user' => NULL, 'password' => NULL],
];
\Drupal::configFactory()->getEditable('rdf_sync.settings')
->set('connection', ['id' => 'virtuoso', 'config' => $basic])
->set('connector', ['id' => 'virtuoso', 'config' => $basic])
->clear('endpoint')
->save(TRUE);
}
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