From 5b17fbaa40625598dc57645318fe66a4eaed7fc3 Mon Sep 17 00:00:00 2001
From: Andreas Gohr <andi@splitbrain.org>
Date: Tue, 19 Apr 2016 18:58:53 +0200
Subject: [PATCH] removed deprecated support for render() in non-syntax plugins
 #1535

---
 inc/plugin.php | 23 -----------------------
 1 file changed, 23 deletions(-)

diff --git a/inc/plugin.php b/inc/plugin.php
index f2ad95e2e..a3314d4c7 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
-- 
GitLab