aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-28 15:05:44 -0800
committerfriendica <info@friendica.com>2014-01-28 15:05:44 -0800
commit8c8be2a05e7646595b2c811dd4ab2ac7d7a98b69 (patch)
tree8796c510991616aa870db1f08c0425f066a2e282 /install/update.php
parentf104b4dc275891785ec03abd779d8aafe5163815 (diff)
downloadvolse-hubzilla-8c8be2a05e7646595b2c811dd4ab2ac7d7a98b69.tar.gz
volse-hubzilla-8c8be2a05e7646595b2c811dd4ab2ac7d7a98b69.tar.bz2
volse-hubzilla-8c8be2a05e7646595b2c811dd4ab2ac7d7a98b69.zip
add client field to chatpresence - which will give us a place to put IP addresses for webRTC. Might as well allow for that since we'll (soon) have presence. Then we wouldn't need SIP and folks can "just" p2p each other using any mechanism they wish if they have permission to do so.
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index 9ab5db8c6..180b8d5a0 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1093 );
+define( 'UPDATE_VERSION' , 1094 );
/**
*
@@ -1054,3 +1054,9 @@ function update_r1092() {
+function update_r1093() {
+ $r = q("ALTER TABLE `chatpresence` ADD `cp_client` CHAR( 128 ) NOT NULL DEFAULT ''");
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}