From 51f3c3ea8549d465fafa9c1817aa6f8cf334a404 Mon Sep 17 00:00:00 2001 From: Brett Profitt Date: Thu, 25 Aug 2011 11:03:02 -0700 Subject: Fixes #3558. Added upgrade for excerpt in blogs. --- mod/blog/start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/blog/start.php') 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); -- cgit v1.2.3