Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rdf_sync
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
rdf_sync
Commits
ab64aadc
Commit
ab64aadc
authored
2 months ago
by
Claudiu Cristea
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3492981
by claudiu.cristea: Wrong update hook
parent
96633a86
No related branches found
Branches containing commit
Tags
1.0.0-alpha16
Tags containing commit
1 merge request
!32
Bug #3492981: Wrong update hook
Pipeline
#364710
passed
2 months ago
Stage: build
Stage: validate
Stage: test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
rdf_sync.install
+2
-2
2 additions, 2 deletions
rdf_sync.install
with
2 additions
and
2 deletions
rdf_sync.install
+
2
−
2
View file @
ab64aadc
...
...
@@ -65,14 +65,14 @@ function rdf_sync_uninstall($is_syncing): void {
/**
* Convert configuration to a plugin system.
*/
function
rdf_sync_update_
1
001
():
void
{
function
rdf_sync_update_
8
001
():
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
(
'connect
ion
'
,
[
'id'
=>
'virtuoso'
,
'config'
=>
$basic
])
->
set
(
'connect
or
'
,
[
'id'
=>
'virtuoso'
,
'config'
=>
$basic
])
->
clear
(
'endpoint'
)
->
save
(
TRUE
);
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment