diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-04-30 08:21:42 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-04-30 08:21:42 +0000 |
| commit | a1fc1907825607e103b8706d6d05bf8f29b1e8e2 (patch) | |
| tree | 0a07ffb263323c5416e5ff989af67f77bdc24a92 /roundcubemail/program/include/rcube_json_output.php | |
| parent | e3b2d6e67b8409bdd1fe508e3410ad465cc1531c (diff) | |
Next step: introduce the application class 'rcmail' and get rid of some global vars
git-svn-id: https://svn.roundcube.net/trunk@1344 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_json_output.php')
| -rw-r--r-- | roundcubemail/program/include/rcube_json_output.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/include/rcube_json_output.php b/roundcubemail/program/include/rcube_json_output.php index 802da2413..19a454321 100644 --- a/roundcubemail/program/include/rcube_json_output.php +++ b/roundcubemail/program/include/rcube_json_output.php @@ -41,10 +41,10 @@ class rcube_json_output /** * Constructor */ - public function __construct(&$config, $task) + public function __construct($task) { $this->task = $task; - $this->config = $config; + $this->config = rcmail::get_instance()->config; } |
