diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/blog/start.php | 3 | ||||
-rw-r--r-- | mod/groups/upgrades/2011030101.php | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/mod/blog/start.php b/mod/blog/start.php index fa57e7b96..4b825fc1f 100644 --- a/mod/blog/start.php +++ b/mod/blog/start.php @@ -248,7 +248,8 @@ function blog_run_upgrades($event, $type, $details) { $ia = elgg_set_ignore_access(true); $options = array( 'type' => 'object', - 'subtype' => 'blog' + 'subtype' => 'blog', + 'limit' => 0, ); $blogs = new ElggBatch('elgg_get_entities', $options); 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) { |