From 8a8cd8df1e34e859b37ca47f7bef68fbb4aefca6 Mon Sep 17 00:00:00 2001 From: alec Date: Mon, 5 Mar 2012 14:20:07 +0000 Subject: - Add check_connection() to storage abstract class git-svn-id: https://svn.roundcube.net/trunk@5962 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcube_storage.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'roundcubemail/program/include/rcube_storage.php') diff --git a/roundcubemail/program/include/rcube_storage.php b/roundcubemail/program/include/rcube_storage.php index cef773c82..8123e9cee 100644 --- a/roundcubemail/program/include/rcube_storage.php +++ b/roundcubemail/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