projects
/
tweeper.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
88d4252
)
tweeper.php: make it clearer that getUrlContents is a static method
author
Antonio Ospite <ao2@ao2.it>
Tue, 17 May 2016 22:08:15 +0000
(
00:08
+0200)
committer
Antonio Ospite <ao2@ao2.it>
Fri, 20 May 2016 09:03:52 +0000
(11:03 +0200)
tweeper.php
patch
|
blob
|
history
diff --git
a/tweeper.php
b/tweeper.php
index
f7d619e
..
1836a2a
100644
(file)
--- a/
tweeper.php
+++ b/
tweeper.php
@@
-205,7
+205,7
@@
class Tweeper {
return NULL;
}
return NULL;
}
- $stylesheet_contents =
$this->
getUrlContents($stylesheet);
+ $stylesheet_contents =
Tweeper::
getUrlContents($stylesheet);
$xslDoc = new DOMDocument();
$xslDoc->loadXML($stylesheet_contents);
$xslDoc = new DOMDocument();
$xslDoc->loadXML($stylesheet_contents);
@@
-319,7
+319,7
@@
class Tweeper {
return NULL;
}
return NULL;
}
- $html =
$this->
getUrlContents($src_url);
+ $html =
Tweeper::
getUrlContents($src_url);
if (FALSE === $html) {
return NULL;
}
if (FALSE === $html) {
return NULL;
}