diff options
author | Simon L'nu <simon.lnu@gmail.com> | 2012-05-02 12:49:00 -0400 |
---|---|---|
committer | Simon L'nu <simon.lnu@gmail.com> | 2012-05-02 12:49:00 -0400 |
commit | 02dc116a9c646ea5683b8df199a7ff492ae6cfcb (patch) | |
tree | ae81849bd1bcd92acd2040cb65e3b193ec5aabb8 /update.php | |
parent | b3680c0d266f06d2474cb45750b0486d246a8315 (diff) | |
parent | 6875f54647cbbdb66e6d570cbf357a8b83644fad (diff) | |
download | volse-hubzilla-02dc116a9c646ea5683b8df199a7ff492ae6cfcb.tar.gz volse-hubzilla-02dc116a9c646ea5683b8df199a7ff492ae6cfcb.tar.bz2 volse-hubzilla-02dc116a9c646ea5683b8df199a7ff492ae6cfcb.zip |
Merge branch 'master', remote-tracking branch 'remotes/upstream/master'
* remotes/upstream/master:
diabook-themes: more improvements in theme.php, add titles to bbcode under coment-box
diabook-theme: tryied to improve performance a bit
diabook-theme: fix footer/impressum
missing param
provide "service_class" identifier which will let us provide service_class limits such as number of FB friends, etc.
delineate the new profile changes from the rest of the text
how did that happen?
shuffle results of remote_common_friends widget
only validate once
perform basic validation
* master:
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 11 |
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 ; +} + + + |