aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2011-08-25 11:03:02 -0700
committerBrett Profitt <brett.profitt@gmail.com>2011-08-25 11:03:02 -0700
commit51f3c3ea8549d465fafa9c1817aa6f8cf334a404 (patch)
treed7b4ef2923b6aa2fc67a18a02da57121c76057f0
parenta0d6ee9cb451bcd016a16ff1cc43fdb630786d08 (diff)
downloadelgg-51f3c3ea8549d465fafa9c1817aa6f8cf334a404.tar.gz
elgg-51f3c3ea8549d465fafa9c1817aa6f8cf334a404.tar.bz2
Fixes #3558. Added upgrade for excerpt in blogs.
-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);