- Add check_connection() to storage abstract class

pull/1/head
alecpl 13 years ago
parent 6205a30c81
commit 8eae72a53c

@ -212,6 +212,8 @@ class rcube_imap extends rcube_storage
/** /**
* Check connection state, connect if not connected. * Check connection state, connect if not connected.
*
* @return bool Connection state.
*/ */
public function check_connection() public function check_connection()
{ {

@ -108,6 +108,14 @@ abstract class rcube_storage
abstract function is_connected(); abstract function is_connected();
/**
* Check connection state, connect if not connected.
*
* @return bool Connection state.
*/
abstract function check_connection();
/** /**
* Returns code of last error * Returns code of last error
* *

Loading…
Cancel
Save