From d01379dd18d800b833d254fa8107e6941d82d0cd Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 27 Jul 2009 19:26:31 +0000 Subject: - Patch #522184 by stBorchert: remove the 'minimum number of words' feature from Drupal. --- modules/node/node.install | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'modules/node/node.install') diff --git a/modules/node/node.install b/modules/node/node.install index d81626f52..26f4f81a3 100644 --- a/modules/node/node.install +++ b/modules/node/node.install @@ -299,13 +299,6 @@ function node_schema() { 'not null' => TRUE, 'default' => '', ), - 'min_word_count' => array( - 'description' => 'The minimum number of words the body must contain.', - 'type' => 'int', - 'unsigned' => TRUE, - 'not null' => TRUE, - 'size' => 'small', - ), 'custom' => array( 'description' => 'A boolean indicating whether this type is defined by a module (FALSE) or by a user via a module like the Content Construction Kit (TRUE).', 'type' => 'int', @@ -523,6 +516,15 @@ function node_update_7005(&$context) { return $ret; } +/** + * Remove column min_word_count. + */ +function node_update_7006() { + $ret = array(); + db_drop_field($ret, 'node_type', 'min_word_count'); + return $ret; +} + /** -- cgit v1.2.3