aboutsummaryrefslogtreecommitdiff
path: root/mod/blog
diff options
context:
space:
mode:
Diffstat (limited to 'mod/blog')
-rw-r--r--mod/blog/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/blog/start.php b/mod/blog/start.php
index a92f5cf85..2d8f75ed2 100644
--- a/mod/blog/start.php
+++ b/mod/blog/start.php
@@ -245,7 +245,7 @@ function blog_run_upgrades($event, $type, $details) {
'subtype' => 'blog'
);
- $blogs = new ElggBatch($options);
+ $blogs = new ElggBatch('elgg_get_entities', $options);
foreach ($blogs as $blog) {
if (!$blog->excerpt) {
$blog->excerpt = elgg_get_excerpt($blog->description);