Commit 5be22acd authored by Dries's avatar Dries

- Patch #632100 by rjgoldsborough, sun: use Stark as default theme for Minimal install profile.

parent 6ed142d1
......@@ -12,25 +12,10 @@
* @see system_install()
*/
function minimal_install() {
// Enable Bartik theme and set it as default theme instead of Stark.
// @see system_install()
$default_theme = 'bartik';
variable_set('theme_default', $default_theme);
theme_enable(array($default_theme));
theme_disable(array('stark'));
$default_theme = 'stark';
// Enable some standard blocks.
$values = array(
array(
'module' => 'system',
'delta' => 'main',
'theme' => $default_theme,
'status' => 1,
'weight' => 0,
'region' => 'content',
'pages' => '',
'cache' => -1,
),
array(
'module' => 'user',
'delta' => 'login',
......@@ -61,16 +46,6 @@ function minimal_install() {
'pages' => '',
'cache' => -1,
),
array(
'module' => 'system',
'delta' => 'help',
'theme' => $default_theme,
'status' => 1,
'weight' => 0,
'region' => 'help',
'pages' => '',
'cache' => -1,
),
);
$query = db_insert('block')->fields(array('module', 'delta', 'theme', 'status', 'weight', 'region', 'pages', 'cache'));
foreach ($values as $record) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment