diff options
author | Andrew Dolgov <[email protected]> | 2013-01-22 22:36:16 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-01-22 22:36:16 +0400 |
commit | 50832719563627e958f92ba2a2b7b8c2b4fed47e (patch) | |
tree | 5ccf2153d1b56c966a6d33352b91c9cd573aa064 /classes/opml.php | |
parent | 87d7e8507a4a41c4e0d7a4f2d54fe48f3a6f72cb (diff) |
move some more functions out of functions.php; fix opml.php failing due to redeclared autoload
Diffstat (limited to 'classes/opml.php')
-rw-r--r-- | classes/opml.php | 10 |
1 files changed, 10 insertions, 0 deletions
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<br/>"; } + 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; + } + + } ?> |