diff options
author | Urban Müller | 2014-02-10 16:07:01 +0100 |
---|---|---|
committer | Urban Müller | 2014-02-10 16:07:01 +0100 |
commit | 31d0ff64befeb9c4777b51f1ca8d621e2d469753 (patch) | |
tree | 865ea7ec515851e1ef56d907fd36c88c4c4aaa5e /it.class | |
parent | e84ed0c7e66a69b7bc4acd4015a38223a165d71c (diff) | |
download | itools-31d0ff64befeb9c4777b51f1ca8d621e2d469753.tar.gz itools-31d0ff64befeb9c4777b51f1ca8d621e2d469753.tar.bz2 itools-31d0ff64befeb9c4777b51f1ca8d621e2d469753.zip |
warn about deprecated it::error usage
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -127,6 +127,9 @@ static function timerlog($label = '') */ static function error($p = array(), $body = null, $to = null) # $body and $to deprecated { + if ($body || $to) + it::error("deprecated usage of it::error"); + if (!is_array($p)) $p = array('title' => $p, 'body' => $body, 'to' => $to); |