1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 17:45:55 +00:00

reference pubsubhubbub classes using their namespace

This commit is contained in:
Andrew Dolgov
2017-01-23 08:20:46 +03:00
parent 141df0c4cf
commit cb3f877303
3 changed files with 5 additions and 5 deletions

View File

@@ -281,7 +281,7 @@ class RPC extends Handler_Protected {
"/public.php?op=rss&id=-2&key=" .
get_feed_access_key(-2, false);
$p = new Publisher(PUBSUBHUBBUB_HUB);
$p = new pubsubhubbub\publisher\Publisher(PUBSUBHUBBUB_HUB);
$pubsub_result = $p->publish_update($rss_link);
}
@@ -624,7 +624,7 @@ class RPC extends Handler_Protected {
"/public.php?op=rss&id=-2&key=" .
get_feed_access_key(-2, false);
$p = new Publisher(PUBSUBHUBBUB_HUB);
$p = new pubsubhubbub\publisher\Publisher(PUBSUBHUBBUB_HUB);
/* $pubsub_result = */ $p->publish_update($rss_link);
}