summaryrefslogtreecommitdiff
path: root/program/include/rcube_storage.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2012-03-05 14:20:07 +0000
committeralecpl <alec@alec.pl>2012-03-05 14:20:07 +0000
commit8eae72a53cf4e359643a75c03d4317bd9afbac77 (patch)
treeb6623799fbcb9120e5d0042332a7fb812db9aff6 /program/include/rcube_storage.php
parent6205a30c81eab281d792edf863b6ba7b0e8804b8 (diff)
- Add check_connection() to storage abstract class
Diffstat (limited to 'program/include/rcube_storage.php')
-rw-r--r--program/include/rcube_storage.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/program/include/rcube_storage.php b/program/include/rcube_storage.php
index cef773c82..8123e9cee 100644
--- a/program/include/rcube_storage.php
+++ b/program/include/rcube_storage.php
@@ -109,6 +109,14 @@ abstract class rcube_storage
/**
+ * Check connection state, connect if not connected.
+ *
+ * @return bool Connection state.
+ */
+ abstract function check_connection();
+
+
+ /**
* Returns code of last error
*
* @return int Error code