tt-rss/classes/pluginhandler.php

19 lines
295 B
PHP
Raw Normal View History

2012-12-23 11:52:18 +01:00
<?php
class PluginHandler extends Handler_Protected {
function csrf_ignore($method) {
return true;
}
function catchall($method) {
global $pluginhost;
$plugin = $pluginhost->get_plugin($_REQUEST["plugin"]);
if (method_exists($plugin, $method)) {
$plugin->$method();
}
}
}
?>