aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/upgrades/2011030101.php
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-12-23 15:07:49 -0500
committercash <cash.costello@gmail.com>2011-12-23 15:07:49 -0500
commit23a912aa6678bb16f866b01c175b8e73e7bf417d (patch)
tree57051f26819d746cfe51b189e2bba4ec12eeede3 /mod/groups/upgrades/2011030101.php
parent3d3312d47597249def3ed8efdcbf68869e3fef31 (diff)
downloadelgg-23a912aa6678bb16f866b01c175b8e73e7bf417d.tar.gz
elgg-23a912aa6678bb16f866b01c175b8e73e7bf417d.tar.bz2
Refs #4239 fixed upgrade scripts with bad limits
Diffstat (limited to 'mod/groups/upgrades/2011030101.php')
-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) {