From 50832719563627e958f92ba2a2b7b8c2b4fed47e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 22 Jan 2013 22:36:16 +0400 Subject: move some more functions out of functions.php; fix opml.php failing due to redeclared autoload --- classes/opml.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'classes/opml.php') diff --git a/classes/opml.php b/classes/opml.php index 10967c171..b91e395d1 100644 --- a/classes/opml.php +++ b/classes/opml.php @@ -479,5 +479,15 @@ class Opml extends Handler_Protected { print "$msg
"; } + static function opml_publish_url($link){ + + $url_path = get_self_url_prefix(); + $url_path .= "/opml.php?op=publish&key=" . + get_feed_access_key($link, 'OPML:Publish', false, $_SESSION["uid"]); + + return $url_path; + } + + } ?> -- cgit v1.2.3-54-g00ecf