diff options
author | Brett Profitt <brett.profitt@gmail.com> | 2011-08-25 11:03:02 -0700 |
---|---|---|
committer | Brett Profitt <brett.profitt@gmail.com> | 2011-08-25 11:03:02 -0700 |
commit | 51f3c3ea8549d465fafa9c1817aa6f8cf334a404 (patch) | |
tree | d7b4ef2923b6aa2fc67a18a02da57121c76057f0 | |
parent | a0d6ee9cb451bcd016a16ff1cc43fdb630786d08 (diff) | |
download | elgg-51f3c3ea8549d465fafa9c1817aa6f8cf334a404.tar.gz elgg-51f3c3ea8549d465fafa9c1817aa6f8cf334a404.tar.bz2 |
Fixes #3558. Added upgrade for excerpt in blogs.
-rw-r--r-- | mod/blog/start.php | 2 |
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); |