diff options
author | Evan Prodromou <evan@status.net> | 2010-02-24 22:22:42 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-02-24 22:22:42 -0500 |
commit | b08a5271395b92e01a17f7298cad7bb203149a7b (patch) | |
tree | e72f72ef3110d4530e8d2e6926da716ba39fbc76 | |
parent | 75cf4d4312f591d7a7c3d5d777f6bf5cb789dd56 (diff) |
content_* to common_*
-rw-r--r-- | plugins/OStatus/classes/Ostatus_profile.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/OStatus/classes/Ostatus_profile.php b/plugins/OStatus/classes/Ostatus_profile.php index 10c2ff87c..e9c77654d 100644 --- a/plugins/OStatus/classes/Ostatus_profile.php +++ b/plugins/OStatus/classes/Ostatus_profile.php @@ -607,7 +607,7 @@ class Ostatus_profile extends Memcached_DataObject $rendered = $this->purify($activity->object->content); $content = html_entity_decode(strip_tags($rendered)); - $shortened = content_shorten_links($content); + $shortened = common_shorten_links($content); // If it's too long, try using the summary, and make the // HTML an attachment. @@ -620,7 +620,7 @@ class Ostatus_profile extends Memcached_DataObject if (empty($summary)) { $summary = $content; } - $shortSummary = content_shorten_links($summary); + $shortSummary = common_shorten_links($summary); if (Notice::contentTooLong($shortSummary)) { $url = common_shorten_url(common_local_url('attachment', array('attachment' => $attachment->id))); |