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

Diff of /contributions/modules/multisite_manager/multisite_manager.install

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

revision 1.3, Fri Feb 8 20:25:25 2008 UTC revision 1.3.2.1, Wed Mar 12 17:56:40 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: multisite_manager.install,v 1.2 2007/09/04 20:24:16 schuyler1d Exp $  // $Id: multisite_manager.install,v 1.3 2008/02/08 20:25:25 schuyler1d Exp $
3    
4  function multisite_manager_install() {  function multisite_manager_install() {
5    switch ($GLOBALS['db_type']) {    switch ($GLOBALS['db_type']) {
# Line 83  function multisite_manager_update_5001() Line 83  function multisite_manager_update_5001()
83        $items[] = update_sql("ALTER TABLE {drupal_site} ADD COLUMN installed smallint NOT NULL default '0'");        $items[] = update_sql("ALTER TABLE {drupal_site} ADD COLUMN installed smallint NOT NULL default '0'");
84        break;        break;
85    } // end switch db_type    } // end switch db_type
86      ///older configuration meant that all sites were installed
87      db_query("UPDATE {drupal_site} SET installed=1");
88    return $items;    return $items;
89  } // end function multisite_manager_update_5000()  } // end function multisite_manager_update_5000()
90    

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

  ViewVC Help
Powered by ViewVC 1.1.2