From: Brett Profitt Date: Thu, 25 Aug 2011 18:03:02 +0000 (-0700) Subject: Fixes #3558. Added upgrade for excerpt in blogs. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=51f3c3ea8549d465fafa9c1817aa6f8cf334a404;p=lorea%2Felgg.git Fixes #3558. Added upgrade for excerpt in blogs. --- 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);