aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Update/_1201.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Update/_1201.php')
-rw-r--r--Zotlabs/Update/_1201.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/Zotlabs/Update/_1201.php b/Zotlabs/Update/_1201.php
index 416d35ad6..920a7401e 100644
--- a/Zotlabs/Update/_1201.php
+++ b/Zotlabs/Update/_1201.php
@@ -13,11 +13,15 @@ class _1201 {
ADD INDEX uid_item_blocked (uid, item_blocked),
ADD INDEX item_deleted_pending_remove_changed (item_deleted, item_pending_remove, changed)
");
- }
- if($r)
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+ }
+ else {
return UPDATE_SUCCESS;
- return UPDATE_FAILED;
+ }
+
}
}