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

Diff of /contributions/modules/authorship/authorship.install

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

revision 1.5.2.1, Thu Jul 12 22:05:55 2007 UTC revision 1.5.2.2, Thu Jan 3 16:36:32 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: authorship.install,v 1.6 2007/04/11 01:10:29 lafo Exp $  // $Id: authorship.install,v 1.5.2.1 2007/07/12 22:05:55 karpuz Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 35  if (!function_exists('authorship_install Line 35  if (!function_exists('authorship_install
35                             "cid INT NOT NULL DEFAULT 0,".                             "cid INT NOT NULL DEFAULT 0,".
36                             "authorship VARCHAR(255) NOT NULL DEFAULT '',".                             "authorship VARCHAR(255) NOT NULL DEFAULT '',".
37                             "profile_real_name SMALLINT DEFAULT 0, ".                             "profile_real_name SMALLINT DEFAULT 0, ".
38                             "PRIMARY KEY (nid, cid)");                             "PRIMARY KEY (nid, cid))");
39          $query2 =  db_query("CREATE INDEX node_authorship_idx ON {node_authorship} (authorship);");          $query2 =  db_query("CREATE INDEX node_authorship_idx ON {node_authorship} (authorship);");
40          if($query1 && $query2) {          if($query1 && $query2) {
41            $created = TRUE;            $created = TRUE;

Legend:
Removed from v.1.5.2.1  
changed lines
  Added in v.1.5.2.2

  ViewVC Help
Powered by ViewVC 1.1.2