diff --git a/inc/plugin.php b/inc/plugin.php index f2ad95e2e4d1c51bec884e0d4f06cb34fdf6dad5..a3314d4c74c3b346f651b069a2f0329ffb0d22f9 100644 --- a/inc/plugin.php +++ b/inc/plugin.php @@ -276,29 +276,6 @@ class DokuWiki_Plugin { return "<a href='$link'$class$target$more>$title</a>"; } - /** - * A fallback to provide access to the old render() method - * - * Since syntax plugins provide their own render method with a different signature and they now - * inherit from Doku_Plugin we can no longer have a render() method here (Strict Standards Violation). - * Instead use render_text() - * - * @deprecated 2014-01-22 - * - * @param string $name - * @param array $arguments - * @return null|string - */ - public function __call($name, $arguments) { - if($name == 'render'){ - dbg_deprecated('render_text()'); - if(!isset($arguments[1])) $arguments[1] = 'xhtml'; - return $this->render_text($arguments[0], $arguments[1]); - } - trigger_error("no such method $name", E_USER_ERROR); - return null; - } - /** * output text string through the parser, allows dokuwiki markup to be used * very ineffecient for small pieces of data - try not to use