aboutsummaryrefslogtreecommitdiff
path: root/p/api/pshb.php
diff options
context:
space:
mode:
Diffstat (limited to 'p/api/pshb.php')
-rw-r--r--p/api/pshb.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/p/api/pshb.php b/p/api/pshb.php
index 37b3fe056..5937f579b 100644
--- a/p/api/pshb.php
+++ b/p/api/pshb.php
@@ -98,7 +98,7 @@ if ($ORIGINAL_INPUT == '') {
die('Missing XML payload!');
}
-$simplePie = customSimplePie();
+$simplePie = new FreshRSS_SimplePieCustom();
$simplePie->enable_cache(false);
$simplePie->set_raw_data($ORIGINAL_INPUT);
$simplePie->init();
@@ -120,7 +120,7 @@ if ($httpLink !== '' && preg_match_all('/<([^>]+)>;\\s*rel="([^"]+)"/', $httpLin
// // TODO: Support WebSub hub redirection
// }
if (!empty($links['self'])) {
- $httpSelf = checkUrl($links['self']) ?: '';
+ $httpSelf = FreshRSS_http_Util::checkUrl($links['self']) ?: '';
if ($self !== '' && $self !== $httpSelf) {
Minz_Log::warning('Warning: Self URL mismatch between XML [' . $self . '] and HTTP!: ' . $httpSelf, PSHB_LOG);
}