summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-01-23 08:20:46 +0300
committerAndrew Dolgov <[email protected]>2017-01-23 08:20:46 +0300
commitcb3f87730380fa7f267aab60875be36456262452 (patch)
treef1a544143cdc9db33bd00c4b489d4de5139efdec /include
parent141df0c4cfb13745a9b8598438ab80142d8fe97a (diff)
reference pubsubhubbub classes using their namespace
Diffstat (limited to 'include')
-rw-r--r--include/rssfuncs.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php
index fbb26ef90..fd4a10f13 100644
--- a/include/rssfuncs.php
+++ b/include/rssfuncs.php
@@ -600,7 +600,7 @@
$callback_url = get_self_url_prefix() .
"/public.php?op=pubsub&id=$feed";
- $s = new Subscriber($feed_hub_url, $callback_url);
+ $s = new Pubsubhubbub\Subscriber\Subscriber($feed_hub_url, $callback_url);
$rc = $s->subscribe($feed_self_url);
@@ -999,7 +999,7 @@
"/public.php?op=rss&id=-2&key=" .
get_feed_access_key(-2, false, $owner_uid);
- $p = new Publisher(PUBSUBHUBBUB_HUB);
+ $p = new pubsubhubbub\publisher\Publisher(PUBSUBHUBBUB_HUB);
/* $pubsub_result = */ $p->publish_update($rss_link);
}