aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorzottel <github@zottel.net>2012-05-30 11:08:02 +0200
committerzottel <github@zottel.net>2012-05-30 11:08:02 +0200
commit24b58af68938558baa2ddc6809401ec528ff1176 (patch)
tree4347cab04767aafe7b5567d68539e666284fa3cc /update.php
parent36d6018c110fca190b720c5ff27883c2d4ed70c3 (diff)
parent88a0d6a1d53a93fa0d43591f85b72a8a72c13d53 (diff)
downloadvolse-hubzilla-24b58af68938558baa2ddc6809401ec528ff1176.tar.gz
volse-hubzilla-24b58af68938558baa2ddc6809401ec528ff1176.tar.bz2
volse-hubzilla-24b58af68938558baa2ddc6809401ec528ff1176.zip
Merge remote branch 'upstream/master'
Diffstat (limited to 'update.php')
-rw-r--r--update.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/update.php b/update.php
index f25d16f9d..f94b89fd3 100644
--- a/update.php
+++ b/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1144 );
+define( 'UPDATE_VERSION' , 1145 );
/**
*
@@ -1253,5 +1253,9 @@ function update_1143() {
return UPDATE_SUCCESS ;
}
-
-
+function update_1144() {
+ $r = q("alter table contact add prv tinyint(1) not null default '0' after forum");
+ if(! $r)
+ return UPDATE_FAILED ;
+ return UPDATE_SUCCESS ;
+}