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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user