From 7ae5432fbfc0e923f2fe8dc62ff77afb8ecc80cf Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Wed, 30 May 2012 04:42:27 -0400
Subject: [PATCH] Abbreviate long attachment file names with ellipsis (#1488499)

---
 program/include/rcube_storage.php |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/program/include/rcube_storage.php b/program/include/rcube_storage.php
index 124d148..8123e9c 100644
--- a/program/include/rcube_storage.php
+++ b/program/include/rcube_storage.php
@@ -7,7 +7,10 @@
  | This file is part of the Roundcube Webmail client                     |
  | Copyright (C) 2005-2012, The Roundcube Dev Team                       |
  | Copyright (C) 2012, Kolab Systems AG                                  |
- | Licensed under the GNU GPL                                            |
+ |                                                                       |
+ | Licensed under the GNU General Public License version 3 or            |
+ | any later version with exceptions for skins & plugins.                |
+ | See the README file for a full license statement.                     |
  |                                                                       |
  | PURPOSE:                                                              |
  |   Mail Storage Engine                                                 |
@@ -103,6 +106,14 @@
      * @return boolean  TRUE on success, FALSE on failure
      */
     abstract function is_connected();
+
+
+    /**
+     * Check connection state, connect if not connected.
+     *
+     * @return bool Connection state.
+     */
+    abstract function check_connection();
 
 
     /**
@@ -968,6 +979,11 @@
      */
     abstract function get_cache($key);
 
+    /**
+     * Delete outdated cache entries
+     */
+    abstract function expunge_cache();
+
 }  // end class rcube_storage
 
 

--
Gitblit v1.9.1