summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-12-31 15:55:20 -0800
committerwebchick <webchick@24967.no-reply.drupal.org>2011-12-31 15:55:20 -0800
commit96882a91d8773c60540dea5e3a05308e310a880c (patch)
treed847272059bdd4a501f9056304345302f170718a /profiles
parent59cb7b4d4a6694a440945dd3b7370e19192a9275 (diff)
downloadbrdo-96882a91d8773c60540dea5e3a05308e310a880c.tar.gz
brdo-96882a91d8773c60540dea5e3a05308e310a880c.tar.bz2
Issue #1382144 by Chi: Rename variable in standard profile.
Diffstat (limited to 'profiles')
-rw-r--r--profiles/standard/standard.install6
1 files changed, 3 insertions, 3 deletions
diff --git a/profiles/standard/standard.install b/profiles/standard/standard.install
index 5d447177f..ccc70443f 100644
--- a/profiles/standard/standard.install
+++ b/profiles/standard/standard.install
@@ -65,7 +65,7 @@ function standard_install() {
// Enable some standard blocks.
$default_theme = variable_get('theme_default', 'bartik');
$admin_theme = 'seven';
- $values = array(
+ $blocks = array(
array(
'module' => 'system',
'delta' => 'main',
@@ -188,8 +188,8 @@ function standard_install() {
),
);
$query = db_insert('block')->fields(array('module', 'delta', 'theme', 'status', 'weight', 'region', 'pages', 'cache'));
- foreach ($values as $record) {
- $query->values($record);
+ foreach ($blocks as $block) {
+ $query->values($block);
}
$query->execute();