diff options
author | zottel <github@zottel.net> | 2012-05-01 08:21:12 +0200 |
---|---|---|
committer | zottel <github@zottel.net> | 2012-05-01 08:21:12 +0200 |
commit | 2e2bb5e8b0d2ab4a732cafd2ada30a76c4883177 (patch) | |
tree | 2ca4af49655a3cf4f1a2d2cf4ea7b5936b8d9a17 /update.php | |
parent | 43f9ea7cfc77d2dcb5fd6f8d7a90b1511cc67720 (diff) | |
parent | f175af05f92384fab7adb75390a8aa52dc1bd7e1 (diff) | |
download | volse-hubzilla-2e2bb5e8b0d2ab4a732cafd2ada30a76c4883177.tar.gz volse-hubzilla-2e2bb5e8b0d2ab4a732cafd2ada30a76c4883177.tar.bz2 volse-hubzilla-2e2bb5e8b0d2ab4a732cafd2ada30a76c4883177.zip |
Merge remote branch 'upstream/master'
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/update.php b/update.php index 2758f5906..f793b89dd 100644 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1139 ); +define( 'UPDATE_VERSION' , 1141 ); /** * @@ -1215,4 +1215,18 @@ function update_1137() { function update_1138() { q("alter table contact add archive tinyint(1) not null default '0' after hidden, add index (archive)"); +} + +function update_1139() { + $r = q("alter table user add account_removed tinyint(1) not null default '0' after expire, add index(account_removed) "); + if(! $r) + return UPDATE_FAILED ; + return UPDATE_SUCCESS ; +} + +function update_1140() { + $r = q("alter table addon add hidden tinyint(1) not null default '0' after installed, add index(hidden) "); + if(! $r) + return UPDATE_FAILED ; + return UPDATE_SUCCESS ; }
\ No newline at end of file |