Skip to content
GitLab
About GitLab
GitLab: the DevOps platform
Explore GitLab
Install GitLab
How GitLab compares
Get started
GitLab docs
GitLab Learn
Pricing
Talk to an expert
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Projects
Groups
Snippets
Sign up now
Login
Sign in
Toggle navigation
Menu
Open sidebar
project
provision
Commits
251f72f3
Commit
251f72f3
authored
Aug 29, 2014
by
Dagomar Paulides
Committed by
Herman van Rink
Aug 29, 2014
Browse files
Issue
#2329131
by dagomar: Fixed Uninstalled block module causes errors.
parent
7b25351e
Changes
1
Hide whitespace changes
Inline
Side-by-side
platform/drupal/deploy_7.inc
View file @
251f72f3
...
...
@@ -39,7 +39,9 @@ function _provision_platform_drupal_deploy_7_replace($old_url, $new_url) {
':new'
=>
'sites/'
.
$new_url
,
);
db_query
(
"UPDATE
{
block_custom
}
SET body = REPLACE(body, :old, :new)"
,
$replace_patterns
);
if
(
db_table_exists
(
'block_custom'
))
{
db_query
(
"UPDATE
{
block_custom
}
SET body = REPLACE(body, :old, :new)"
,
$replace_patterns
);
}
db_query
(
"UPDATE
{
system
}
SET filename = REPLACE(filename, :old, :new)"
,
$replace_patterns
);
$field_map
=
field_info_field_map
();
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment