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

Diff of /contributions/modules/click/click.install

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

revision 1.2 by kbahey, Tue Oct 17 03:21:01 2006 UTC revision 1.3 by kbahey, Mon Jan 29 19:29:51 2007 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: click.install,v 1.1 2006/07/07 18:54:52 kbahey Exp $  // $Id: click.install,v 1.2 2006/10/17 03:21:01 kbahey Exp $
3    
4  function click_install() {  function click_install() {
5    switch ($GLOBALS['db_type']) {    switch ($GLOBALS['db_type']) {
# Line 19  function click_install() { Line 19  function click_install() {
19      case 'pgsql':      case 'pgsql':
20        break;        break;
21    }    }
22    }
23    
24    if ($query) {  function click_update_1() {
25      drupal_set_message(t('Click module installed successfully.'));    return _system_update_utf8(array('clicks'));
   }  
   else {  
     drupal_set_message(t('Table installation for the click module was unsuccessful. The tables may need to be installed by hand. See click.install file for a list of tables to create.'), 'error');  
   }  
26  }  }
27    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.3