aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorzottel <github@zottel.net>2012-05-03 10:21:38 +0200
committerzottel <github@zottel.net>2012-05-03 10:21:38 +0200
commit35771a778df18afb231969c242680a6353e5ef8e (patch)
tree2f1d6384b3f68c360861715e12dcf59a48145411 /update.php
parent6000e7f30d1193dada903eaf0e6f44149a3dde33 (diff)
parentd72db2e1aa68833cbebc1c24ab4e1c6c9c966679 (diff)
downloadvolse-hubzilla-35771a778df18afb231969c242680a6353e5ef8e.tar.gz
volse-hubzilla-35771a778df18afb231969c242680a6353e5ef8e.tar.bz2
volse-hubzilla-35771a778df18afb231969c242680a6353e5ef8e.zip
Merge remote branch 'upstream/master'
Diffstat (limited to 'update.php')
-rw-r--r--update.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/update.php b/update.php
index cce942f27..e363aa942 100644
--- a/update.php
+++ b/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1142 );
+define( 'UPDATE_VERSION' , 1143 );
/**
*
@@ -1239,3 +1239,12 @@ function update_1141() {
}
+function update_1142() {
+ $r = q("alter table user add service_class char(32) not null after expire_notification_sent, add index(service_class) ");
+ if(! $r)
+ return UPDATE_FAILED ;
+ return UPDATE_SUCCESS ;
+}
+
+
+