aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-05-02 01:45:57 -0700
committerfriendica <info@friendica.com>2012-05-02 01:45:57 -0700
commitdc31b93941c2412ad3d61bf7d67d25a3a4153af3 (patch)
treed489581a1fde41a49bfcdba9702c3f4d9908bf2b /update.php
parent06d6ab481280d786c40b0741ebd0b787addee40d (diff)
downloadvolse-hubzilla-dc31b93941c2412ad3d61bf7d67d25a3a4153af3.tar.gz
volse-hubzilla-dc31b93941c2412ad3d61bf7d67d25a3a4153af3.tar.bz2
volse-hubzilla-dc31b93941c2412ad3d61bf7d67d25a3a4153af3.zip
provide "service_class" identifier which will let us provide service_class limits such as number of FB friends, etc.
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 ;
+}
+
+
+