Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
0009c31a
Commit
0009c31a
authored
Dec 31, 2011
by
webchick
Browse files
Issue
#1382144
by Chi: Rename variable in standard profile.
parent
9a2d4898
Changes
1
Show whitespace changes
Inline
Side-by-side
profiles/standard/standard.install
View file @
0009c31a
...
...
@@ -71,7 +71,7 @@ function standard_install() {
// Enable some standard blocks.
$admin_theme
=
'seven'
;
$
value
s
=
array
(
$
block
s
=
array
(
array
(
'module'
=>
'system'
,
'delta'
=>
'main'
,
...
...
@@ -194,8 +194,8 @@ function standard_install() {
),
);
$query
=
db_insert
(
'block'
)
->
fields
(
array
(
'module'
,
'delta'
,
'theme'
,
'status'
,
'weight'
,
'region'
,
'pages'
,
'cache'
));
foreach
(
$
value
s
as
$
record
)
{
$query
->
values
(
$
record
);
foreach
(
$
block
s
as
$
block
)
{
$query
->
values
(
$
block
);
}
$query
->
execute
();
...
...
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