diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-07-27 19:26:31 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-07-27 19:26:31 +0000 |
commit | d01379dd18d800b833d254fa8107e6941d82d0cd (patch) | |
tree | 8d0b70295ce349ee5dfdf4f9e256d972157318c2 /modules/node/node.install | |
parent | 7425d6389269e767db2142f909cdb33d29d75cc6 (diff) | |
download | brdo-d01379dd18d800b833d254fa8107e6941d82d0cd.tar.gz brdo-d01379dd18d800b833d254fa8107e6941d82d0cd.tar.bz2 |
- Patch #522184 by stBorchert: remove the 'minimum number of words' feature from Drupal.
Diffstat (limited to 'modules/node/node.install')
-rw-r--r-- | modules/node/node.install | 16 |
1 files changed, 9 insertions, 7 deletions
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; +} + /** |