aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-03-06 01:29:42 -0800
committerfriendica <info@friendica.com>2014-03-06 01:29:42 -0800
commit8c7e076dae46a81e38620048d1fe3894c1a6d70e (patch)
treeb6de7429391adf798c2bbb172c6f8a4f9b57a79e /install/update.php
parent020ab09657dcfe61f2f690dac90eef64476433fa (diff)
downloadvolse-hubzilla-8c7e076dae46a81e38620048d1fe3894c1a6d70e.tar.gz
volse-hubzilla-8c7e076dae46a81e38620048d1fe3894c1a6d70e.tar.bz2
volse-hubzilla-8c7e076dae46a81e38620048d1fe3894c1a6d70e.zip
bring friends back
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index 175b89285..70372241d 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1102 );
+define( 'UPDATE_VERSION' , 1103 );
/**
*
@@ -1151,3 +1151,11 @@ function update_r1101() {
return UPDATE_SUCCESS;
}
+function update_r1102() {
+ $r = q("update abook set abook_flags = (abook_flags - %d)
+ where ( abook_flags & %d)",
+ intval(ABOOK_FLAG_UNCONNECTED),
+ intval(ABOOK_FLAG_UNCONNECTED),
+ );
+ return UPDATE_SUCCESS;
+} \ No newline at end of file