aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorSimon L'nu <simon.lnu@gmail.com>2012-04-29 22:06:16 -0400
committerSimon L'nu <simon.lnu@gmail.com>2012-04-29 22:06:16 -0400
commit34eb843fb486b9487f02553c1b791892bb7615fc (patch)
tree0cc1e343310753e018c0fb36f9848f227d5eb35a /update.php
parentecd1dab373a1fccb1663023f6515ed148475079d (diff)
parentdef6f0b408680c4e5f209890bbf1ad6bf40b5add (diff)
downloadvolse-hubzilla-34eb843fb486b9487f02553c1b791892bb7615fc.tar.gz
volse-hubzilla-34eb843fb486b9487f02553c1b791892bb7615fc.tar.bz2
volse-hubzilla-34eb843fb486b9487f02553c1b791892bb7615fc.zip
Merge branch 'master', remote-tracking branch 'remotes/upstream/master'
* remotes/upstream/master: the heart should really be red. fix location change notification enhanced profile reporting for single values add db field for removed account, which will also be the first test of update error checking toggle to archive unfriends, though render them useless indicate successful updates diabook-themes: small fix diabook-themes: bug/css-fixes some constants for the db update failure possibilities bring back the email and logging of update failures, but without the transactions * master:
Diffstat (limited to 'update.php')
-rw-r--r--update.php11
1 files changed, 9 insertions, 2 deletions
diff --git a/update.php b/update.php
index 2758f5906..3c2ecebb6 100644
--- a/update.php
+++ b/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1139 );
+define( 'UPDATE_VERSION' , 1140 );
/**
*
@@ -1215,4 +1215,11 @@ function update_1137() {
function update_1138() {
q("alter table contact add archive tinyint(1) not null default '0' after hidden, add index (archive)");
-} \ No newline at end of file
+}
+
+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 ;
+}