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

Diff of /contributions/modules/send/send.install

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

revision 1.13, Fri Aug 7 01:00:03 2009 UTC revision 1.14, Sat Oct 31 01:30:57 2009 UTC
# Line 1  Line 1 
1  <?php // $Id: send.install,v 1.12 2009/05/25 20:25:56 vauxia Exp $  <?php // $Id: send.install,v 1.13 2009/08/07 01:00:03 vauxia Exp $
2    
3  function send_schema() {  function send_schema() {
4    $schema = array(    $schema = array(
# Line 360  function send_update_4() { Line 360  function send_update_4() {
360   */   */
361  function send_update_6001() {  function send_update_6001() {
362    $ret = array();    $ret = array();
363      // don't attempt to upgrade if send is not enabled.
364      if (!module_exists('send')) {
365        drupal_set_message(t('Send module must be enabled for updates to complete. After enabling Send, please return to <a href="@update-php">update.php</a> and run the remaining updates.', array('@update-php' => base_path() .'update.php?op=selection')), 'warning', FALSE);
366        $ret['#abort'] = array(
367          'success' => FALSE,
368          'query' => t('Send is not enabled.  To run updates first enable Send and then re-run update.php.'),
369        );
370        return $ret;
371      }
372    $schema = drupal_get_schema(NULL, TRUE);    $schema = drupal_get_schema(NULL, TRUE);
373    
374    // Add new tables.    // Add new tables.

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.2