mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 01:25:56 +00:00
move bookmarklet-related methods out of public.php into the plugin
This commit is contained in:
@@ -16,6 +16,10 @@
|
||||
return hidden_tag("op", strtolower(get_class($plugin) . \PluginHost::PUBLIC_METHOD_DELIMITER . $method));
|
||||
} */
|
||||
|
||||
function public_method_tags(\Plugin $plugin, string $method) {
|
||||
return hidden_tag("op", strtolower(get_class($plugin) . \PluginHost::PUBLIC_METHOD_DELIMITER . $method));
|
||||
}
|
||||
|
||||
function pluginhandler_tags(\Plugin $plugin, string $method) {
|
||||
return hidden_tag("op", "pluginhandler") .
|
||||
hidden_tag("plugin", strtolower(get_class($plugin))) .
|
||||
|
||||
Reference in New Issue
Block a user