aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-12-05 13:24:58 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-12-05 13:24:58 -0800
commit36ef1d1bc63d6c2040947ee9c18ba16072ffb76e (patch)
tree56f3285bcef0418ea368d6aa62eccd3d6ba5bdbc /install/update.php
parent61aa33af1d30f047af709d7f513357e62c8307c3 (diff)
downloadvolse-hubzilla-36ef1d1bc63d6c2040947ee9c18ba16072ffb76e.tar.gz
volse-hubzilla-36ef1d1bc63d6c2040947ee9c18ba16072ffb76e.tar.bz2
volse-hubzilla-36ef1d1bc63d6c2040947ee9c18ba16072ffb76e.zip
move the instance stuff to abook where it belongs
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 10ae6725e..37351656f 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1160 );
+define( 'UPDATE_VERSION' , 1161 );
/**
*
@@ -1950,3 +1950,10 @@ function update_r1159() {
}
+function update_r1160() {
+ $r1 = q("alter table abook add abook_instance text not null default '' ");
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}
+