aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/upgrades
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/upgrades')
-rw-r--r--mod/groups/upgrades/2011030101.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/mod/groups/upgrades/2011030101.php b/mod/groups/upgrades/2011030101.php
index c2a80c08c..666ae3736 100644
--- a/mod/groups/upgrades/2011030101.php
+++ b/mod/groups/upgrades/2011030101.php
@@ -43,7 +43,11 @@ function groups_2011030101($topic) {
return $annotation[0]->delete();
}
-$options = array('type' => 'object', 'subtype' => 'groupforumtopic');
+$options = array(
+ 'type' => 'object',
+ 'subtype' => 'groupforumtopic',
+ 'limit' => 0,
+);
$batch = new ElggBatch('elgg_get_entities', $options, 'groups_2011030101', 100);
if ($batch->callbackResult) {