#370806 by cwgordon7: Add navigation and login blocks back to minimal profile.

merge-requests/26/head
Angie Byron 2009-02-10 03:28:51 +00:00
parent 069597eaf3
commit 00bc1ccb8b
1 changed files with 4 additions and 1 deletions

View File

@ -8,7 +8,7 @@
* An array of modules to enable.
*/
function expert_profile_modules() {
return array('dblog');
return array('block', 'dblog');
}
/**
@ -42,6 +42,9 @@ function expert_profile_task_list() {
* Perform any final installation tasks for this profile.
*/
function expert_profile_tasks(&$task, $url) {
// Enable 2 standard blocks.
db_query("INSERT INTO {block} (module, delta, theme, status, weight, region, pages, cache) VALUES ('%s', '%s', '%s', %d, %d, '%s', '%s', %d)", 'user', 'login', 'garland', 1, 0, 'left', '', -1);
db_query("INSERT INTO {block} (module, delta, theme, status, weight, region, pages, cache) VALUES ('%s', '%s', '%s', %d, %d, '%s', '%s', %d)", 'user', 'navigation', 'garland', 1, 0, 'left', '', -1);
}
/**