aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/actions
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-24 20:02:23 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-24 20:02:23 +0000
commit07727717f2341edc80ba9dc47e78649d1133b29b (patch)
treea942332e2e3f9599888530aea5af7f704f758126 /mod/blog/actions
parentf0c725f29aeb7e5e9b2d1fc9e846f90cdbb152a3 (diff)
downloadelgg-07727717f2341edc80ba9dc47e78649d1133b29b.tar.gz
elgg-07727717f2341edc80ba9dc47e78649d1133b29b.tar.bz2
Blog uses elgg_make_excerpt() now instead of its own.
git-svn-id: http://code.elgg.org/elgg/trunk@6190 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/blog/actions')
-rw-r--r--mod/blog/actions/blog/auto_save_revision.php2
-rw-r--r--mod/blog/actions/blog/save.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/mod/blog/actions/blog/auto_save_revision.php b/mod/blog/actions/blog/auto_save_revision.php
index 520d57531..ce35c1295 100644
--- a/mod/blog/actions/blog/auto_save_revision.php
+++ b/mod/blog/actions/blog/auto_save_revision.php
@@ -41,7 +41,7 @@ if ($title && $description) {
$blog->access_id = ACCESS_PRIVATE;
$blog->title = $title;
$blog->description = $description;
- $blog->excerpt = blog_make_excerpt($excerpt);
+ $blog->excerpt = elgg_make_excerpt($excerpt);
// must be present or doesn't show up when metadata sorting.
$blog->publish_date = time();
if (!$blog->save()) {
diff --git a/mod/blog/actions/blog/save.php b/mod/blog/actions/blog/save.php
index 0e8a696b9..138c32bda 100644
--- a/mod/blog/actions/blog/save.php
+++ b/mod/blog/actions/blog/save.php
@@ -78,9 +78,9 @@ foreach ($values as $name => $default) {
case 'excerpt':
if ($value) {
- $value = blog_make_excerpt($value);
+ $value = elgg_make_excerpt($value);
} else {
- $value = blog_make_excerpt($values['description']);
+ $value = elgg_make_excerpt($values['description']);
}
$values[$name] = $value;
break;