aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-06-28 22:33:13 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-06-28 22:33:13 -0700
commit63f2e9b41259975f1af6415cda01dc0f81b1af30 (patch)
tree01518a9183b0daf02350da8f8e7d853f1a039ffc /install/update.php
parent8d84472b4cb85b50c314491e0706d80eb5b7de6d (diff)
parent090dae46e500634cec8f3718fbb83d5dbb8f9690 (diff)
downloadvolse-hubzilla-63f2e9b41259975f1af6415cda01dc0f81b1af30.tar.gz
volse-hubzilla-63f2e9b41259975f1af6415cda01dc0f81b1af30.tar.bz2
volse-hubzilla-63f2e9b41259975f1af6415cda01dc0f81b1af30.zip
Merge branch 'master' of https://github.com/redmatrix/redmatrix
Conflicts: include/zot.php mod/connedit.php util/messages.po
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index 62c976218..fb49e9a16 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1143 );
+define( 'UPDATE_VERSION' , 1144 );
/**
*
@@ -1656,4 +1656,14 @@ function update_r1142() {
return UPDATE_FAILED;
+}
+
+function update_r1143() {
+
+ $r1 = q("ALTER TABLE abook ADD abook_incl TEXT NOT NULL DEFAULT ''");
+ $r2 = q("ALTER TABLE abook ADD abook_excl TEXT NOT NULL DEFAULT '' ");
+ if($r1 && $r2)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+
} \ No newline at end of file