diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-04-16 11:59:08 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-04-16 11:59:08 +0000 |
| commit | 388de0eb96b779fabc8677a05d97bf2515411d83 (patch) | |
| tree | 271cad39cd8bcef9f334eda01acdb027063f2fb7 /roundcubemail/program/include/rcube_cache.php | |
| parent | fcd056183c14afad005a26157b76ad4a6dc31ab4 (diff) | |
- Replace some references to rcmail with rcube
git-svn-id: https://svn.roundcube.net/trunk@6092 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_cache.php')
| -rw-r--r-- | roundcubemail/program/include/rcube_cache.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/roundcubemail/program/include/rcube_cache.php b/roundcubemail/program/include/rcube_cache.php index 3e6bc0f32..6d7a9eacd 100644 --- a/roundcubemail/program/include/rcube_cache.php +++ b/roundcubemail/program/include/rcube_cache.php @@ -66,12 +66,12 @@ class rcube_cache */ function __construct($type, $userid, $prefix='', $ttl=0, $packed=true) { - $rcmail = rcube::get_instance(); - $type = strtolower($type); + $rcube = rcube::get_instance(); + $type = strtolower($type); if ($type == 'memcache') { $this->type = 'memcache'; - $this->db = $rcmail->get_memcache(); + $this->db = $rcube->get_memcache(); } else if ($type == 'apc') { $this->type = 'apc'; @@ -79,7 +79,7 @@ class rcube_cache } else { $this->type = 'db'; - $this->db = $rcmail->get_dbh(); + $this->db = $rcube->get_dbh(); } $this->userid = (int) $userid; |
