diff options
author | zotlabs <mike@macgirvin.com> | 2017-04-25 21:52:24 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-04-25 21:52:24 -0700 |
commit | 7d5ee81628a08dd560f7fdaa5b4d5a3f5ce3fb95 (patch) | |
tree | 428e349ecaa384a74f9aabf0408f68d3e7eed173 /install/update.php | |
parent | f36e384ed7bc76b970862905e87efe88872d5f5d (diff) | |
download | volse-hubzilla-7d5ee81628a08dd560f7fdaa5b4d5a3f5ce3fb95.tar.gz volse-hubzilla-7d5ee81628a08dd560f7fdaa5b4d5a3f5ce3fb95.tar.bz2 volse-hubzilla-7d5ee81628a08dd560f7fdaa5b4d5a3f5ce3fb95.zip |
database support for client side e2ee for private mail
Diffstat (limited to 'install/update.php')
-rw-r--r-- | install/update.php | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php index b37af9cef..84f1a799c 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1189 ); +define( 'UPDATE_VERSION' , 1190 ); /** * @@ -2521,3 +2521,14 @@ function update_r1188() { } +function update_r1189() { + + $r1 = q("alter table mail add mail_mimetype char(64) not null default 'text/bbcode' "); + $r2 = q("alter table mail add mail_raw int(4) not null default '0' "); + + if($r1 && $r2) + return UPDATE_SUCCESS; + return UPDATE_FAILED; + +} + |