diff options
author | alecpl <alec@alec.pl> | 2012-04-16 11:59:08 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2012-04-16 11:59:08 +0000 |
commit | be98dfc2c0bdc4f911c6daa94e3fddc29afc89a8 (patch) | |
tree | 05907bc164d7c41157ad1087be672d7bbcbac980 /program/include/rcube_plugin.php | |
parent | 1aceb9cec82639250a603aa0806f0399f7bae68d (diff) |
- Replace some references to rcmail with rcube
Diffstat (limited to 'program/include/rcube_plugin.php')
-rw-r--r-- | program/include/rcube_plugin.php | 6 |
1 files changed, 3 insertions, 3 deletions
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 |