diff options
author | friendica <info@friendica.com> | 2013-05-06 03:55:58 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-05-06 03:55:58 -0700 |
commit | 027f932ff53d0bd42ba8bb805660a332fc2910a9 (patch) | |
tree | 3f8db7f3fe76001e74f3930ff99879b9ac085fd6 /install/update.php | |
parent | dc028ce8ba37aa80c05ade1f2d36371c41457671 (diff) | |
download | volse-hubzilla-027f932ff53d0bd42ba8bb805660a332fc2910a9.tar.gz volse-hubzilla-027f932ff53d0bd42ba8bb805660a332fc2910a9.tar.bz2 volse-hubzilla-027f932ff53d0bd42ba8bb805660a332fc2910a9.zip |
add driver param to output queue so we know what protocol to use when faced with multiple choice
Diffstat (limited to 'install/update.php')
-rw-r--r-- | install/update.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php index 7dbc601c8..8a225867e 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1041 ); +define( 'UPDATE_VERSION' , 1042 ); /** * @@ -522,3 +522,12 @@ function update_r1040() { return UPDATE_SUCCESS; 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; +} + |