diff options
author | friendica <info@friendica.com> | 2014-03-31 16:25:05 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-03-31 16:25:05 -0700 |
commit | ced6d826334c3d4979c296bb292fbc393cc6a034 (patch) | |
tree | cd4a337a494bfd22f15ef4374f5ab4e13806367e /install/update.php | |
parent | 1108eaaed0cf451668dcaf04bd532a3615724dbc (diff) | |
download | volse-hubzilla-ced6d826334c3d4979c296bb292fbc393cc6a034.tar.gz volse-hubzilla-ced6d826334c3d4979c296bb292fbc393cc6a034.tar.bz2 volse-hubzilla-ced6d826334c3d4979c296bb292fbc393cc6a034.zip |
finish up the source route storage so we can prevent messages from flowing upstream in complicated delivery chains
Diffstat (limited to 'install/update.php')
-rw-r--r-- | install/update.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php index 06a60db79..55e404e4e 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1104 ); +define( 'UPDATE_VERSION' , 1105 ); /** * @@ -1166,3 +1166,10 @@ function update_r1103() { set_config('system','curl_ssl_ciphers','ALL:!eNULL'); return UPDATE_SUCCESS; } + +function update_r1104() { + $r = q("ALTER TABLE `item` ADD `route` TEXT NOT NULL DEFAULT '' AFTER `postopts` "); + if($r) + return UPDATE_SUCCESS; + return UPDATE_FAILED; +} |