aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-03-27 19:35:34 -0700
committerfriendica <info@friendica.com>2013-03-27 19:35:34 -0700
commit810a60b9125b957485fe7030b9a0f4bc00164124 (patch)
treeafc2b3e2c9d807ca8e61d709fb260d0b69a90854 /install/update.php
parent8148b7c32f160cbe2cdc37e7271ac62aa2133b7c (diff)
downloadvolse-hubzilla-810a60b9125b957485fe7030b9a0f4bc00164124.tar.gz
volse-hubzilla-810a60b9125b957485fe7030b9a0f4bc00164124.tar.bz2
volse-hubzilla-810a60b9125b957485fe7030b9a0f4bc00164124.zip
add new connections to default group (if any)
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 a2a280e67..eb796ccf6 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1039 );
+define( 'UPDATE_VERSION' , 1040 );
/**
*
@@ -505,3 +505,11 @@ function update_r1038() {
}
+function update_r1039() {
+ $r = q("ALTER TABLE `channel` CHANGE `channel_default_gid` `channel_default_group` CHAR( 255 ) NOT NULL DEFAULT ''");
+
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+
+}