diff options
author | friendica <info@friendica.com> | 2013-09-18 21:20:54 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-09-18 21:20:54 -0700 |
commit | 5607737c395c32a0c9f0ee071c571f6a7509f8eb (patch) | |
tree | 3f0ac480eb7404597f37d48391bbc59bbd5977fc /install/update.php | |
parent | e4d2e2200e04c8df699d9a8efade661123ef7ac8 (diff) | |
download | volse-hubzilla-5607737c395c32a0c9f0ee071c571f6a7509f8eb.tar.gz volse-hubzilla-5607737c395c32a0c9f0ee071c571f6a7509f8eb.tar.bz2 volse-hubzilla-5607737c395c32a0c9f0ee071c571f6a7509f8eb.zip |
set default charset of email_header_encode, add ud_flags to indicate which updates have been processed in some way.
Diffstat (limited to 'install/update.php')
-rw-r--r-- | install/update.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php index 3c40ee0c5..c135cc586 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1070 ); +define( 'UPDATE_VERSION' , 1071 ); /** * @@ -797,3 +797,11 @@ ADD INDEX ( `site_sellpage` )"); return UPDATE_FAILED; } +function update_r1070() { + $r = q("ALTER TABLE `updates` ADD `ud_flags` INT NOT NULL DEFAULT '0', +ADD INDEX ( `ud_flags` )"); + if($r) + return UPDATE_SUCCESS; + return UPDATE_FAILED; +} + |