aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-01 15:10:52 -0800
committerfriendica <info@friendica.com>2015-02-01 15:10:52 -0800
commitb1a92d620ebf760a3cfd83f6fb62990494d3ad60 (patch)
tree4c0ec66005b3867bc8ae005f0cf6950a4ab7dcb4 /install/update.php
parentacac58fba0cc5fa82cb1b74f536ba602dd237238 (diff)
downloadvolse-hubzilla-b1a92d620ebf760a3cfd83f6fb62990494d3ad60.tar.gz
volse-hubzilla-b1a92d620ebf760a3cfd83f6fb62990494d3ad60.tar.bz2
volse-hubzilla-b1a92d620ebf760a3cfd83f6fb62990494d3ad60.zip
two tracks proceeding in parallel - first adding the ability to store a digital signature with ratings so that directories can pass them around, second provide some directory registration functions so we can obtain a list of directories from somewhere (to pass ratings around between them). This gives the primary directory role some value as that is where you register your directory.
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 597da4e3b..4cd1ced5d 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1135 );
+define( 'UPDATE_VERSION' , 1136 );
/**
*
@@ -1549,4 +1549,11 @@ function update_r1134() {
if($r)
return UPDATE_SUCCESS;
return UPDATE_FAILED;
+}
+
+function update_r1135() {
+ $r = q("ALTER TABLE xlink ADD xlink_sig TEXT NOT NULL DEFAULT ''");
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
} \ No newline at end of file