| 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( |
| 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. |