diff options
author | friendica <info@friendica.com> | 2013-11-20 21:09:13 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-11-20 21:09:13 -0800 |
commit | 4791b2fd9c6dabc9ebb1f42a4993185d85493261 (patch) | |
tree | 4a63752ec22345dabc3e8d07c483046c91547a98 /install/update.php | |
parent | eb3d8e2cd7e2bd51035918b4106d1c29b6605505 (diff) | |
download | volse-hubzilla-4791b2fd9c6dabc9ebb1f42a4993185d85493261.tar.gz volse-hubzilla-4791b2fd9c6dabc9ebb1f42a4993185d85493261.tar.bz2 volse-hubzilla-4791b2fd9c6dabc9ebb1f42a4993185d85493261.zip |
add aid to notifiy table which we may need to supress duplicate notify emails across your channels
also try to handle the wretched mess of broken and duplicated hublocs that fred.cepheus.uberspace.de typically reports
Diffstat (limited to 'install/update.php')
-rw-r--r-- | install/update.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php index 31eac2963..f498ec042 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1083 ); +define( 'UPDATE_VERSION' , 1084 ); /** * @@ -910,3 +910,12 @@ function update_r1082() { return UPDATE_SUCCESS; return UPDATE_FAILED; } + +function update_r1083() { + $r = q("ALTER TABLE `notify` ADD `aid` INT NOT NULL AFTER `msg` , +ADD INDEX ( `aid` )"); + if($r) + return UPDATE_SUCCESS; + return UPDATE_FAILED; +} + |