From: Antonio Ospite Date: Tue, 17 May 2016 22:08:15 +0000 (+0200) Subject: tweeper.php: make it clearer that getUrlContents is a static method X-Git-Tag: v0.6~32 X-Git-Url: https://git.ao2.it/tweeper.git/commitdiff_plain/3989b318e7752d34778ad48de4785fad1bb89204?ds=inline tweeper.php: make it clearer that getUrlContents is a static method --- diff --git a/tweeper.php b/tweeper.php index f7d619e..1836a2a 100644 --- a/tweeper.php +++ b/tweeper.php @@ -205,7 +205,7 @@ class Tweeper { return NULL; } - $stylesheet_contents = $this->getUrlContents($stylesheet); + $stylesheet_contents = Tweeper::getUrlContents($stylesheet); $xslDoc = new DOMDocument(); $xslDoc->loadXML($stylesheet_contents); @@ -319,7 +319,7 @@ class Tweeper { return NULL; } - $html = $this->getUrlContents($src_url); + $html = Tweeper::getUrlContents($src_url); if (FALSE === $html) { return NULL; }