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

Diff of /contributions/modules/api/api.install

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

revision 1.11.2.11, Sun Oct 18 23:07:51 2009 UTC revision 1.11.2.12, Sat Nov 7 20:15:07 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: api.install,v 1.11.2.10 2009/10/15 05:52:59 drumm Exp $  // $Id: api.install,v 1.11.2.11 2009/10/18 23:07:51 drumm Exp $
3    
4  function api_schema() {  function api_schema() {
5    $schema['api_branch'] = array(    $schema['api_branch'] = array(
# Line 398  function api_update_20() { Line 398  function api_update_20() {
398        'project_name' => array('project', 'branch_name'),        'project_name' => array('project', 'branch_name'),
399      ),      ),
400    ));    ));
401    $return = update_sql("UPDATE {api_branch} SET project = 'drupal'");    $return[] = update_sql("UPDATE {api_branch} SET project = 'drupal'");
402    variable_set('api_default_branch', db_result(db_query("SELECT branch_id FROM {api_branch} WHERE branch_name = '%s'", variable_get('api_default_branch', NULL))));    variable_set('api_default_branch', db_result(db_query("SELECT branch_id FROM {api_branch} WHERE branch_name = '%s'", variable_get('api_default_branch', NULL))));
403    
404    return $return;    return $return;

Legend:
Removed from v.1.11.2.11  
changed lines
  Added in v.1.11.2.12

  ViewVC Help
Powered by ViewVC 1.1.2