diff options
author | friendica <info@friendica.com> | 2012-06-07 15:44:56 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-06-07 15:44:56 -0700 |
commit | f4a80fcf2474a13b2d733f59f1a928b40841d83c (patch) | |
tree | 27c32cdfbaa3a63877b118609b5177c705ff747a /update.php | |
parent | fcf8f301e595444620f07ea0e01994ea99ee961b (diff) | |
parent | 2438c6e45d47ca194b51f99ddf113112fbb6ccb9 (diff) | |
download | volse-hubzilla-f4a80fcf2474a13b2d733f59f1a928b40841d83c.tar.gz volse-hubzilla-f4a80fcf2474a13b2d733f59f1a928b40841d83c.tar.bz2 volse-hubzilla-f4a80fcf2474a13b2d733f59f1a928b40841d83c.zip |
Merge pull request #328 from fabrixxm/master
PNG with alpha channel
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/update.php b/update.php index 35a6771b0..0f7bf664d 100644 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1148 ); +define( 'UPDATE_VERSION' , 1149 ); /** * @@ -1283,3 +1283,9 @@ function update_1147() { return UPDATE_SUCCESS ; } +function update_1148() { + $r = q("ALTER TABLE photo ADD type CHAR(128) NOT NULL DEFAULT 'image/jpeg' AFTER filename"); + if (!$r) + return UPDATE_FAILED; + return UPDATE_SUCCESS; +} |