add driver param to output queue so we know what protocol to use when faced with multiple choice
This commit is contained in:
parent
dc028ce8ba
commit
027f932ff5
2
boot.php
2
boot.php
@ -41,7 +41,7 @@ require_once('include/features.php');
|
|||||||
define ( 'RED_PLATFORM', 'Red' );
|
define ( 'RED_PLATFORM', 'Red' );
|
||||||
define ( 'RED_VERSION', trim(file_get_contents('version.inc')) . 'R');
|
define ( 'RED_VERSION', trim(file_get_contents('version.inc')) . 'R');
|
||||||
define ( 'ZOT_REVISION', 1 );
|
define ( 'ZOT_REVISION', 1 );
|
||||||
define ( 'DB_UPDATE_VERSION', 1041 );
|
define ( 'DB_UPDATE_VERSION', 1042 );
|
||||||
|
|
||||||
define ( 'EOL', '<br />' . "\r\n" );
|
define ( 'EOL', '<br />' . "\r\n" );
|
||||||
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );
|
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );
|
||||||
|
@ -597,6 +597,7 @@ CREATE TABLE IF NOT EXISTS `outq` (
|
|||||||
`outq_hash` char(255) NOT NULL,
|
`outq_hash` char(255) NOT NULL,
|
||||||
`outq_account` int(10) unsigned NOT NULL DEFAULT '0',
|
`outq_account` int(10) unsigned NOT NULL DEFAULT '0',
|
||||||
`outq_channel` int(10) unsigned NOT NULL DEFAULT '0',
|
`outq_channel` int(10) unsigned NOT NULL DEFAULT '0',
|
||||||
|
`outq_driver` char(32) NOT NULL DEFAULT '',
|
||||||
`outq_posturl` char(255) NOT NULL DEFAULT '',
|
`outq_posturl` char(255) NOT NULL DEFAULT '',
|
||||||
`outq_async` tinyint(1) NOT NULL DEFAULT '0',
|
`outq_async` tinyint(1) NOT NULL DEFAULT '0',
|
||||||
`outq_delivered` tinyint(1) NOT NULL DEFAULT '0',
|
`outq_delivered` tinyint(1) NOT NULL DEFAULT '0',
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
define( 'UPDATE_VERSION' , 1041 );
|
define( 'UPDATE_VERSION' , 1042 );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
@ -522,3 +522,12 @@ function update_r1040() {
|
|||||||
return UPDATE_SUCCESS;
|
return UPDATE_SUCCESS;
|
||||||
return UPDATE_FAILED;
|
return UPDATE_FAILED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function update_r1041() {
|
||||||
|
$r = q("ALTER TABLE `outq` ADD `outq_driver` CHAR( 32 ) NOT NULL DEFAULT '' AFTER `outq_channel` ");
|
||||||
|
|
||||||
|
if($r)
|
||||||
|
return UPDATE_SUCCESS;
|
||||||
|
return UPDATE_FAILED;
|
||||||
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user