aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-30 19:02:11 -0700
committerFriendika <info@friendika.com>2011-06-30 19:02:11 -0700
commitcdddfca0b5971d2437eee09ad6985f3df5ae5bfd (patch)
treed8caf30b951159cce76c041a20352138621fc446 /update.php
parent9aeccaaa9ef7f3569149bb7c9aae56e7f8b5f514 (diff)
downloadvolse-hubzilla-cdddfca0b5971d2437eee09ad6985f3df5ae5bfd.tar.gz
volse-hubzilla-cdddfca0b5971d2437eee09ad6985f3df5ae5bfd.tar.bz2
volse-hubzilla-cdddfca0b5971d2437eee09ad6985f3df5ae5bfd.zip
photos were not working in private mail
Diffstat (limited to 'update.php')
-rw-r--r--update.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/update.php b/update.php
index 306731a13..187662901 100644
--- a/update.php
+++ b/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1070 );
+define( 'UPDATE_VERSION' , 1071 );
/**
*
@@ -565,3 +565,10 @@ function update_1069() {
q("ALTER TABLE `fsuggest` ADD `request` CHAR( 255 ) NOT NULL AFTER `url` ");
q("ALTER TABLE `fcontact` ADD `request` CHAR( 255 ) NOT NULL AFTER `photo` ");
}
+
+// mail body needs to accomodate private photos
+
+function update_1070() {
+ q("ALTER TABLE `mail` CHANGE `body` `body` MEDIUMTEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ");
+}
+