aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-03-31 16:25:05 -0700
committerfriendica <info@friendica.com>2014-03-31 16:25:05 -0700
commitced6d826334c3d4979c296bb292fbc393cc6a034 (patch)
treecd4a337a494bfd22f15ef4374f5ab4e13806367e /install/update.php
parent1108eaaed0cf451668dcaf04bd532a3615724dbc (diff)
downloadvolse-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.php9
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;
+}