From 8eae72a53cf4e359643a75c03d4317bd9afbac77 Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 5 Mar 2012 14:20:07 +0000 Subject: - Add check_connection() to storage abstract class --- program/include/rcube_storage.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'program/include/rcube_storage.php') 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 @@ -108,6 +108,14 @@ abstract class rcube_storage abstract function is_connected(); + /** + * Check connection state, connect if not connected. + * + * @return bool Connection state. + */ + abstract function check_connection(); + + /** * Returns code of last error * -- cgit v1.2.3