aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-07-31 02:32:41 -0700
committerfriendica <info@friendica.com>2013-07-31 02:32:41 -0700
commitc00c550c58f0125785b194c9413a98e114a7ab98 (patch)
treeca889fb3fcadeedc2bff623c9c8f0bf0ce57ee99 /install/update.php
parentc45ebdf97f2170e575648ebdad2db0c52c2dcb4a (diff)
downloadvolse-hubzilla-c00c550c58f0125785b194c9413a98e114a7ab98.tar.gz
volse-hubzilla-c00c550c58f0125785b194c9413a98e114a7ab98.tar.bz2
volse-hubzilla-c00c550c58f0125785b194c9413a98e114a7ab98.zip
better mail obscuring
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 1ea9aa377..f357dbba2 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1055 );
+define( 'UPDATE_VERSION' , 1056 );
/**
*
@@ -648,3 +648,11 @@ function update_r1054() {
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}
+
+function update_r1055() {
+ $r = q("ALTER TABLE `mail` CHANGE `title` `title` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' ");
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}
+