photos were not working in private mail

This commit is contained in:
Friendika
2011-06-30 19:02:11 -07:00
parent 9aeccaaa9e
commit cdddfca0b5
4 changed files with 13 additions and 4 deletions

View File

@@ -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 ");
}