X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FUrlShortener%2FUrlShortenerPlugin.php;h=027624b7ae1ca1c439d0731fc3dce8b252f7ccb1;hb=9498a164805892a8af17311f7e7697b132524990;hp=37206aa896e2cf04493c9719afa2fdabf11cdff4;hpb=014d6b1d19b6ae5de8d87f055397993f80579f74;p=quix0rs-gnu-social.git diff --git a/plugins/UrlShortener/UrlShortenerPlugin.php b/plugins/UrlShortener/UrlShortenerPlugin.php index 37206aa896..027624b7ae 100644 --- a/plugins/UrlShortener/UrlShortenerPlugin.php +++ b/plugins/UrlShortener/UrlShortenerPlugin.php @@ -68,14 +68,6 @@ abstract class UrlShortenerPlugin extends Plugin return $response->getBody(); } - protected function tidy($response) { - $response = str_replace(' ', ' ', $response); - $config = array('output-xhtml' => true); - $tidy = new tidy; - $tidy->parseString($response, $config, 'utf8'); - $tidy->cleanRepair(); - return (string)$tidy; - } //------------Below are the methods that connect StatusNet to the implementing Url Shortener plugin------------\\ function onInitializePlugin(){