diff options
Diffstat (limited to 'program/include/rcube_mdb2.php')
-rw-r--r-- | program/include/rcube_mdb2.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/program/include/rcube_mdb2.php b/program/include/rcube_mdb2.php index 0139bdc65..7c431dfa6 100644 --- a/program/include/rcube_mdb2.php +++ b/program/include/rcube_mdb2.php @@ -826,7 +826,7 @@ class rcube_mdb2 if ($scope != 'prepare') { $debug_output = sprintf('%s(%d): %s;', $scope, $db->db_index, rtrim($message, ';')); - rcmail::write_log('sql', $debug_output); + rcube::write_log('sql', $debug_output); } } @@ -840,12 +840,12 @@ class rcube_mdb2 */ public function table_name($table) { - $rcmail = rcube::get_instance(); + $rcube = rcube::get_instance(); // return table name if configured $config_key = 'db_table_'.$table; - if ($name = $rcmail->config->get($config_key)) { + if ($name = $rcube->config->get($config_key)) { return $name; } @@ -863,12 +863,12 @@ class rcube_mdb2 */ public function sequence_name($sequence) { - $rcmail = rcube::get_instance(); + $rcube = rcube::get_instance(); // return sequence name if configured $config_key = 'db_sequence_'.$sequence; - if ($name = $rcmail->config->get($config_key)) { + if ($name = $rcube->config->get($config_key)) { return $name; } |