Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dar-otechestvu
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
Open-source
dar-otechestvu
Commits
1aef7dc3
Commit
1aef7dc3
authored
Dec 29, 2018
by
anton.shloma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove update module
parent
e947b5b5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
dar.install
profiles/dar/dar.install
+2
-3
No files found.
profiles/dar/dar.install
View file @
1aef7dc3
...
...
@@ -26,8 +26,7 @@ function dar_install() {
$moduleHandler
=
\Drupal
::
service
(
'module_handler'
);
if
(
$moduleHandler
->
moduleExists
(
'update'
))
{
$module_data
=
\Drupal
::
config
(
'core.extension'
)
->
get
(
'module'
);
unset
(
$module_data
[
'update'
]);
\Drupal
::
configFactory
()
->
getEditable
(
'core.extension'
)
->
set
(
'module'
,
$module_data
)
->
save
();
\Drupal
::
service
(
'module_installer'
)
->
uninstall
([
'update'
]);
drupal_flush_all_caches
();
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment