Aleksander Machniak
2015-11-17 7476410a04b8e0a722b949b9996ae1e0dec6a7bf
Add missing deprecation warning
1 files modified
3 ■■■■ changed files
program/include/bc.php 3 ●●●● patch | view | raw | blame | history
program/include/bc.php
@@ -37,6 +37,7 @@
function get_table_name($table)
{
    _deprecation_warning(__FUNCTION__);
    return rcmail::get_instance()->db->table_name($table);
}
@@ -495,7 +496,7 @@
    static $warnings = array();
    if (!$warnings[$func]++)  // only log once
        rcmail::write_log('errors', "Warning: Call to deprecated function $func(); See bc.inc for replacements");
        rcmail::write_log('errors', "Warning: Call to deprecated function $func(); See bc.inc for replacement");
}
class rcube_html_page extends rcmail_html_page