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

move some more functions out of functions.php; fix opml.php failing due to redeclared autoload

This commit is contained in:
Andrew Dolgov
2013-01-22 22:36:16 +04:00
parent 87d7e8507a
commit 5083271956
8 changed files with 101 additions and 106 deletions

View File

@@ -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;
}
}
?>