]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #3558. Added upgrade for excerpt in blogs.
authorBrett Profitt <brett.profitt@gmail.com>
Thu, 25 Aug 2011 18:03:02 +0000 (11:03 -0700)
committerBrett Profitt <brett.profitt@gmail.com>
Thu, 25 Aug 2011 18:03:02 +0000 (11:03 -0700)
mod/blog/start.php

index a92f5cf855ad0a57507eec0ad2f6e474421ab991..2d8f75ed2adaf7bd5a17899b20f93349f884ea67 100644 (file)
@@ -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);