summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-02-03 12:30:14 +0000
committerDries Buytaert <dries@buytaert.net>2009-02-03 12:30:14 +0000
commitd4867346f578906751f8ea0bd799c3fc1bfcbf48 (patch)
treeb5ea49cfb114cfc7cbbd37cf83908164e2bbe6e8 /modules/system/system.install
parentff1e4c669a64276a0d5c377bf69c1268c1fb796f (diff)
downloadbrdo-d4867346f578906751f8ea0bd799c3fc1bfcbf48.tar.gz
brdo-d4867346f578906751f8ea0bd799c3fc1bfcbf48.tar.bz2
- Patch #367380 by Moshe: make block module optional.
Diffstat (limited to 'modules/system/system.install')
-rw-r--r--modules/system/system.install5
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index 7b8f1e144..9300d758d 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -330,7 +330,7 @@ function system_install() {
}
// Create tables.
- $modules = array('system', 'filter', 'block', 'user', 'node');
+ $modules = array('system', 'filter', 'user', 'node');
foreach ($modules as $module) {
drupal_install_schema($module);
}
@@ -369,9 +369,6 @@ function system_install() {
db_query("INSERT INTO {variable} (name, value) VALUES ('%s', '%s')", 'theme_default', 's:7:"garland";');
db_query("UPDATE {system} SET status = %d WHERE type = '%s' AND name = '%s'", 1, 'theme', 'garland');
- 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);
- db_query("INSERT INTO {block} (module, delta, theme, status, weight, region, pages, cache) VALUES ('%s', '%s', '%s', %d, %d, '%s', '%s', %d)", 'system', 'powered-by', 'garland', 1, 10, 'footer', '', -1);
db_query("INSERT INTO {node_access} (nid, gid, realm, grant_view, grant_update, grant_delete) VALUES (%d, %d, '%s', %d, %d, %d)", 0, 0, 'all', 1, 0, 0);