From 8eae72a53cf4e359643a75c03d4317bd9afbac77 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Mon, 05 Mar 2012 09:20:07 -0500
Subject: [PATCH] - Add check_connection() to storage abstract class

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

diff --git a/program/include/rcube_storage.php b/program/include/rcube_storage.php
index cef773c..8123e9c 100644
--- a/program/include/rcube_storage.php
+++ b/program/include/rcube_storage.php
@@ -109,6 +109,14 @@
 
 
     /**
+     * Check connection state, connect if not connected.
+     *
+     * @return bool Connection state.
+     */
+    abstract function check_connection();
+
+
+    /**
      * Returns code of last error
      *
      * @return int Error code

--
Gitblit v1.9.1