diff options
author | Andreas Gohr <andi@splitbrain.org> | 2014-05-10 15:49:53 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2014-05-10 15:49:53 +0200 |
commit | 1419a485e3ac0c507ef073f0b816bd41f7e4a5cd (patch) | |
tree | 4f3980583bb25a521b44fdd758d60309fd5df477 /inc/plugin.php | |
parent | 811653d71565cce94ca1b27f4cdebc60769e2d11 (diff) | |
download | rpg-1419a485e3ac0c507ef073f0b816bd41f7e4a5cd.tar.gz rpg-1419a485e3ac0c507ef073f0b816bd41f7e4a5cd.tar.bz2 |
log deprecated function calls FS#2399
This introduces a new dbg_deprecated() function which allows for easy
marking of deprecated functions. Each call is logged to the debuglog
when debuggin is enabled.
Diffstat (limited to 'inc/plugin.php')
-rw-r--r-- | inc/plugin.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/plugin.php b/inc/plugin.php index 7de4fbd74..e0112ef56 100644 --- a/inc/plugin.php +++ b/inc/plugin.php @@ -252,6 +252,7 @@ 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]); } |