]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/UrlShortener/UrlShortenerPlugin.php
Merge branch 'testing'
[quix0rs-gnu-social.git] / plugins / UrlShortener / UrlShortenerPlugin.php
index 37206aa896e2cf04493c9719afa2fdabf11cdff4..027624b7ae1ca1c439d0731fc3dce8b252f7ccb1 100644 (file)
@@ -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(){