diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-03-05 14:20:07 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-03-05 14:20:07 +0000 |
| commit | 8a8cd8df1e34e859b37ca47f7bef68fbb4aefca6 (patch) | |
| tree | e9f4e51857986431481edfeccfee8b60585b3162 /roundcubemail/program/include/rcube_storage.php | |
| parent | 16e3024d263aacca8e3e0e8c7b71df9d103e524e (diff) | |
- Add check_connection() to storage abstract class
git-svn-id: https://svn.roundcube.net/trunk@5962 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_storage.php')
| -rw-r--r-- | roundcubemail/program/include/rcube_storage.php | 8 |
1 files changed, 8 insertions, 0 deletions
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 @@ -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 |
