From 7476410a04b8e0a722b949b9996ae1e0dec6a7bf Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Tue, 17 Nov 2015 03:36:43 -0500
Subject: [PATCH] Add missing deprecation warning
---
program/include/bc.php | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/program/include/bc.php b/program/include/bc.php
index d473f29..b4350e4 100644
--- a/program/include/bc.php
+++ b/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
--
Gitblit v1.9.1