diff options
author | friendica <info@friendica.com> | 2013-08-19 21:19:39 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-08-19 21:19:39 -0700 |
commit | cd5fdbcb48a2e05198bb9daaf0753e8218ea4285 (patch) | |
tree | 8a2f57e1b6e99e9fe6b1f961b4d53b077603d046 /install/update.php | |
parent | b9314935e6f85bb0098c651d021ce9bdc2753ecb (diff) | |
download | volse-hubzilla-cd5fdbcb48a2e05198bb9daaf0753e8218ea4285.tar.gz volse-hubzilla-cd5fdbcb48a2e05198bb9daaf0753e8218ea4285.tar.bz2 volse-hubzilla-cd5fdbcb48a2e05198bb9daaf0753e8218ea4285.zip |
email attachments (and fix email photos)
Diffstat (limited to 'install/update.php')
-rw-r--r-- | install/update.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php index c97b5619f..682ee2aea 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1059 ); +define( 'UPDATE_VERSION' , 1060 ); /** * @@ -682,3 +682,10 @@ ADD INDEX ( `mitem_flags` ) "); return UPDATE_SUCCESS; return UPDATE_FAILED; } + +function update_r1059() { + $r = q("ALTER TABLE `mail` ADD `attach` MEDIUMTEXT NOT NULL DEFAULT '' AFTER `body` "); + if($r) + return UPDATE_SUCCESS; + return UPDATE_FAILED; +} |