diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-02-19 20:23:13 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-02-19 20:23:13 +0100 |
commit | 2047801b858d56ba72da0a430903890bea0130cd (patch) | |
tree | f399a183ad43bb8a5063de3b41dca9bcfb4911d4 /Zotlabs/Update/_1200.php | |
parent | 43992dc463575655a5767fcb1a8dcb18a1d4ffdf (diff) | |
download | volse-hubzilla-2047801b858d56ba72da0a430903890bea0130cd.tar.gz volse-hubzilla-2047801b858d56ba72da0a430903890bea0130cd.tar.bz2 volse-hubzilla-2047801b858d56ba72da0a430903890bea0130cd.zip |
updates 1201 and 1200 should return success for postgres. notifications: remove class show and session storage entry when we mark all notifications seen
Diffstat (limited to 'Zotlabs/Update/_1200.php')
-rw-r--r-- | Zotlabs/Update/_1200.php | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Zotlabs/Update/_1200.php b/Zotlabs/Update/_1200.php index 00c742593..9f7bfb152 100644 --- a/Zotlabs/Update/_1200.php +++ b/Zotlabs/Update/_1200.php @@ -10,11 +10,15 @@ function run() { DROP INDEX item_type, ADD INDEX uid_item_type (uid, item_type) "); - } - if($r) + if($r) + return UPDATE_SUCCESS; + return UPDATE_FAILED; + } + else { return UPDATE_SUCCESS; - return UPDATE_FAILED; + } + } -}
\ No newline at end of file +} |