alecpl
2012-03-05 8eae72a53cf4e359643a75c03d4317bd9afbac77
- Add check_connection() to storage abstract class


2 files modified
10 ■■■■■ changed files
program/include/rcube_imap.php 2 ●●●●● patch | view | raw | blame | history
program/include/rcube_storage.php 8 ●●●●● patch | view | raw | blame | history
program/include/rcube_imap.php
@@ -212,6 +212,8 @@
    /**
     * Check connection state, connect if not connected.
     *
     * @return bool Connection state.
     */
    public function check_connection()
    {
program/include/rcube_storage.php
@@ -109,6 +109,14 @@
    /**
     * Check connection state, connect if not connected.
     *
     * @return bool Connection state.
     */
    abstract function check_connection();
    /**
     * Returns code of last error
     *
     * @return int Error code