/[drupal]/contributions/modules/wordfilter/wordfilter.install
ViewVC logotype

Diff of /contributions/modules/wordfilter/wordfilter.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.4.2.1.2.3, Tue Apr 14 08:07:25 2009 UTC revision 1.4.2.1.2.4, Tue Apr 14 08:15:49 2009 UTC
# Line 25  function wordfilter_schema() { Line 25  function wordfilter_schema() {
25          'not null' => TRUE,          'not null' => TRUE,
26          'default' => '',          'default' => '',
27        ),        ),
28          'language' => array(
29            'description' => 'The {languages}.language of this word to filter.',
30            'type' => 'varchar',
31            'length' => 12,
32            'not null' => TRUE,
33            'default' => '',
34          ),
35        'standalone' => array(        'standalone' => array(
36          'description' => 'A boolean to indicate if the word filtering should only be done if the word is not part of another word.',          'description' => 'A boolean to indicate if the word filtering should only be done if the word is not part of another word.',
37          'type' => 'int',          'type' => 'int',
# Line 70  function wordfilter_update_3() { Line 77  function wordfilter_update_3() {
77  }  }
78    
79  /**  /**
80     * Update function to add a language column to the wordfilter
81     * table so that words and replacement words can be set on
82     * a per language basis
83     */
84    function wordfilter_update_6100() {
85      $ret = array();
86      db_add_field($ret, 'wordfilter', 'language', array('type' => 'varchar', 'length' => 12, 'not null' => TRUE, 'default' => ''));
87      return $ret;
88    }
89    
90    /**
91   * Implementation of hook_uninstall().   * Implementation of hook_uninstall().
92   */   */
93  function wordfilter_uninstall() {  function wordfilter_uninstall() {

Legend:
Removed from v.1.4.2.1.2.3  
changed lines
  Added in v.1.4.2.1.2.4

  ViewVC Help
Powered by ViewVC 1.1.2