From be98dfc2c0bdc4f911c6daa94e3fddc29afc89a8 Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 16 Apr 2012 11:59:08 +0000 Subject: - Replace some references to rcmail with rcube --- program/include/rcube_plugin.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'program/include/rcube_plugin.php') diff --git a/program/include/rcube_plugin.php b/program/include/rcube_plugin.php index e20f7ce6a..7048392e5 100644 --- a/program/include/rcube_plugin.php +++ b/program/include/rcube_plugin.php @@ -110,8 +110,8 @@ abstract class rcube_plugin public function load_config($fname = 'config.inc.php') { $fpath = $this->home.'/'.$fname; - $rcmail = rcube::get_instance(); - if (is_file($fpath) && !$rcmail->config->load_from_file($fpath)) { + $rcube = rcube::get_instance(); + if (is_file($fpath) && !$rcube->config->load_from_file($fpath)) { rcube::raise_error(array( 'code' => 527, 'type' => 'php', 'file' => __FILE__, 'line' => __LINE__, @@ -177,7 +177,7 @@ abstract class rcube_plugin foreach ($texts as $key => $value) $add[$domain.'.'.$key] = $value; - $rcmail = rcube::get_instance(); + $rcmail = rcmail::get_instance(); $rcmail->load_language($lang, $add); // add labels to client -- cgit v1.2.3