]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #1088 from annando/master
authortobiasd <tobias.diekershoff@gmx.net>
Sat, 30 Aug 2014 07:36:31 +0000 (09:36 +0200)
committertobiasd <tobias.diekershoff@gmx.net>
Sat, 30 Aug 2014 07:36:31 +0000 (09:36 +0200)
Bugfix: It was impossible to add groups.

boot.php
update.php

index 122201839c54025d9d8d2ccd94f682566ed74595..3d33502ddbd2c6c2605c7cd98c45229198bdddd0 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -14,7 +14,7 @@ require_once('include/features.php');
 define ( 'FRIENDICA_PLATFORM',     'Friendica');
 define ( 'FRIENDICA_VERSION',      '3.2.1753' );
 define ( 'DFRN_PROTOCOL_VERSION',  '2.23'    );
-define ( 'DB_UPDATE_VERSION',      1170      );
+define ( 'DB_UPDATE_VERSION',      1171      );
 define ( 'EOL',                    "<br />\r\n"     );
 define ( 'ATOM_TIME',              'Y-m-d\TH:i:s\Z' );
 
index 9303e5d19cdba01a51fb4a287d4fd13ed7de4705..d0fddcf27616d0540e9d09914f638b0394b44329 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-define( 'UPDATE_VERSION' , 1170 );
+define( 'UPDATE_VERSION' , 1171 );
 
 /**
  *
@@ -1599,3 +1599,10 @@ function update_1169() {
 
        return UPDATE_SUCCESS;
 }
+
+function update_1170() {
+       $r = q("ALTER TABLE `guid` CHANGE `guid` `guid` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL");
+       if (!$r)
+               return UPDATE_FAILED;
+       return UPDATE_SUCCESS;
+}