summaryrefslogtreecommitdiff
path: root/modules/block/block.install
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-03-28 11:16:29 +0000
committerDries Buytaert <dries@buytaert.net>2010-03-28 11:16:29 +0000
commit40fb3a9392de0a0a09200f72dc15f821208450db (patch)
treeb208bc51dc386ed7a7234544466189ed70959863 /modules/block/block.install
parentfdb422b8a27539938404cdc3d1a1b73bc01f5d4a (diff)
downloadbrdo-40fb3a9392de0a0a09200f72dc15f821208450db.tar.gz
brdo-40fb3a9392de0a0a09200f72dc15f821208450db.tar.bz2
- Patch #684774 by andypost, sun: critical bug: block visibility settings cannot be properly extended.
Diffstat (limited to 'modules/block/block.install')
-rw-r--r--modules/block/block.install64
1 files changed, 0 insertions, 64 deletions
diff --git a/modules/block/block.install b/modules/block/block.install
index 1a41fd433..ce2633eea 100644
--- a/modules/block/block.install
+++ b/modules/block/block.install
@@ -131,34 +131,6 @@ function block_schema() {
),
);
- $schema['block_node_type'] = array(
- 'description' => 'Sets up display criteria for blocks based on content types',
- 'fields' => array(
- 'module' => array(
- 'type' => 'varchar',
- 'length' => 64,
- 'not null' => TRUE,
- 'description' => "The block's origin module, from {block}.module.",
- ),
- 'delta' => array(
- 'type' => 'varchar',
- 'length' => 32,
- 'not null' => TRUE,
- 'description' => "The block's unique delta within module, from {block}.delta.",
- ),
- 'type' => array(
- 'type' => 'varchar',
- 'length' => 32,
- 'not null' => TRUE,
- 'description' => "The machine-readable name of this type from {node_type}.type.",
- ),
- ),
- 'primary key' => array('module', 'delta', 'type'),
- 'indexes' => array(
- 'type' => array('type'),
- ),
- );
-
$schema['block_custom'] = array(
'description' => 'Stores contents of custom-made blocks.',
'fields' => array(
@@ -230,42 +202,6 @@ function block_update_7000() {
->execute();
}
-
-/**
- * Add the block_node_type table.
- */
-function block_update_7001() {
- $schema['block_node_type'] = array(
- 'description' => 'Sets up display criteria for blocks based on content types',
- 'fields' => array(
- 'module' => array(
- 'type' => 'varchar',
- 'length' => 64,
- 'not null' => TRUE,
- 'description' => "The block's origin module, from {block}.module.",
- ),
- 'delta' => array(
- 'type' => 'varchar',
- 'length' => 32,
- 'not null' => TRUE,
- 'description' => "The block's unique delta within module, from {block}.delta.",
- ),
- 'type' => array(
- 'type' => 'varchar',
- 'length' => 32,
- 'not null' => TRUE,
- 'description' => "The machine-readable name of this type from {node_type}.type.",
- ),
- ),
- 'primary key' => array('module', 'delta', 'type'),
- 'indexes' => array(
- 'type' => array('type'),
- ),
- );
-
- db_create_table('block_node_type', $schema['block_node_type']);
-}
-
/**
* Rename {blocks} table to {block}, {blocks_roles} to {block_role} and
* {boxes} to {block_custom}.