summaryrefslogtreecommitdiff
path: root/inc/plugin.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/plugin.php')
-rw-r--r--inc/plugin.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/plugin.php b/inc/plugin.php
index 95bdaee2b..e0112ef56 100644
--- a/inc/plugin.php
+++ b/inc/plugin.php
@@ -252,10 +252,11 @@ class DokuWiki_Plugin {
*/
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_ERROR);
+ trigger_error("no such method $name", E_USER_ERROR);
return null;
}