diff options
author | zotlabs <mike@macgirvin.com> | 2018-02-19 16:19:14 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-02-19 16:19:14 -0800 |
commit | 76b5c686460ed5fe4c93dc0e268d99dc9eb988b6 (patch) | |
tree | c8eb101027b5157014b50080a1d5c32101c67e42 /Zotlabs/Update/_1200.php | |
parent | b6b4827680d14bcb0062bba4a272f661bbb33d8c (diff) | |
parent | 66309a3fea4b087ffef53ea93d5573278515dcf0 (diff) | |
download | volse-hubzilla-76b5c686460ed5fe4c93dc0e268d99dc9eb988b6.tar.gz volse-hubzilla-76b5c686460ed5fe4c93dc0e268d99dc9eb988b6.tar.bz2 volse-hubzilla-76b5c686460ed5fe4c93dc0e268d99dc9eb988b6.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
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 +} |