From be98dfc2c0bdc4f911c6daa94e3fddc29afc89a8 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Mon, 16 Apr 2012 07:59:08 -0400
Subject: [PATCH] - Replace some references to rcmail with rcube

---
 program/include/rcube_session.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/program/include/rcube_session.php b/program/include/rcube_session.php
index f26989d..6f7d90b 100644
--- a/program/include/rcube_session.php
+++ b/program/include/rcube_session.php
@@ -65,7 +65,7 @@
 
     // use memcache backend
     if ($config->get('session_storage', 'db') == 'memcache') {
-      $this->memcache = rcmail::get_instance()->get_memcache();
+      $this->memcache = rcube::get_instance()->get_memcache();
 
       // set custom functions for PHP session management if memcache is available
       if ($this->memcache) {
@@ -632,7 +632,7 @@
   function log($line)
   {
     if ($this->logging)
-      rcmail::write_log('session', $line);
+      rcube::write_log('session', $line);
   }
 
 }

--
Gitblit v1.9.1