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

Diff of /contributions/modules/path_redirect/path_redirect.install

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

revision 1.2.2.6.2.20, Mon Oct 26 17:56:08 2009 UTC revision 1.2.2.6.2.21, Wed Nov 4 06:00:11 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: path_redirect.install,v 1.2.2.6.2.19 2009/03/17 20:51:28 davereid Exp $  // $Id: path_redirect.install,v 1.2.2.6.2.20 2009/10/26 17:56:08 davereid Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 182  function path_redirect_update_6101() { Line 182  function path_redirect_update_6101() {
182    db_add_unique_key($ret, 'path_redirect', 'path_language', array('path', 'language'));    db_add_unique_key($ret, 'path_redirect', 'path_language', array('path', 'language'));
183    return $ret;    return $ret;
184  }  }
185    
186    /**
187     * Replace frontpage paths with '<front>'.
188     */
189    function path_redirect_update_6102() {
190      $ret = array();
191      $ret[] = update_sql("UPDATE {path_redirect} SET redirect = '<front>' WHERE redirect = '" . variable_get('site_frontpage', 'node') . "'");
192      return $ret;
193    }

Legend:
Removed from v.1.2.2.6.2.20  
changed lines
  Added in v.1.2.2.6.2.21

  ViewVC Help
Powered by ViewVC 1.1.2