]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
content_* to common_*
authorEvan Prodromou <evan@status.net>
Thu, 25 Feb 2010 03:22:42 +0000 (22:22 -0500)
committerEvan Prodromou <evan@status.net>
Thu, 25 Feb 2010 03:22:42 +0000 (22:22 -0500)
plugins/OStatus/classes/Ostatus_profile.php

index 10c2ff87c878b360309582fe877d64d7eeb6cad3..e9c77654dd4f5ce82691eca07b60f9456283286b 100644 (file)
@@ -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)));