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

Diff of /contributions/modules/comment_subscribe/comment_subscribe.install

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

revision 1.2.2.4, Wed May 20 07:05:26 2009 UTC revision 1.2.2.5, Wed May 20 09:30:23 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: comment_subscribe.install,v 1.2.2.3 2009/01/30 08:23:50 zyxware Exp $  // $Id: comment_subscribe.install,v 1.2.2.4 2009/05/20 07:05:26 zyxware Exp $
3  /**  /**
4   * @file   * @file
5   * comment_subscribe.install.   * comment_subscribe.install.
# Line 144  function comment_subscribe_update_6101() Line 144  function comment_subscribe_update_6101()
144        db_query('UPDATE {comment_notify} SET notify = %d WHERE cid = %d', $notify,        db_query('UPDATE {comment_notify} SET notify = %d WHERE cid = %d', $notify,
145     $subscription_vals->cid);     $subscription_vals->cid);
146      }      }
147        // Provide an explaination of what we did.
148        $ret[] = array('success' => TRUE, 'query' => t('Moved comment_subscribe subscription data from the {comment_subscribe} table to the {comment_notify} table.'));
149    
150    }    }
151    else {    else {
152      drupal_set_message('Comment Notify module not yet enabled. Please enable the module for migrating from comment subscribe to comment notify.');      $ret[] = array('success' => FALSE, 'query' => t('Comment Notify module not yet enabled. Please enable the module for migrating from comment subscribe to comment notify. You will need to run this update again.'));
153    }    }
154    return $ret;    return $ret;
155  }  }

Legend:
Removed from v.1.2.2.4  
changed lines
  Added in v.1.2.2.5

  ViewVC Help
Powered by ViewVC 1.1.2