Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 63... Línea 63...
63
    public function is_available() {
63
    public function is_available() {
64
        return during_initial_install();
64
        return during_initial_install();
65
    }
65
    }
Línea 66... Línea 66...
66
 
66
 
67
    /**
-
 
68
     * @deprecated since Moodle 3.10.
-
 
69
     */
-
 
70
    public function supports_recursion() {
-
 
71
        throw new coding_exception('The function supports_recursion() has been removed, please do not use it anymore.');
-
 
72
    }
-
 
73
 
-
 
74
    /**
67
    /**
75
     * Get some info that might be useful for debugging.
68
     * Get some info that might be useful for debugging.
76
     * @return boolean - string
69
     * @return boolean - string
77
     */
70
     */
78
    protected function get_debug_info() {
71
    protected function get_debug_info() {
Línea 98... Línea 91...
98
     * @return boolean - true if the lock is no longer held (including if it was never held).
91
     * @return boolean - true if the lock is no longer held (including if it was never held).
99
     */
92
     */
100
    public function release_lock(lock $lock) {
93
    public function release_lock(lock $lock) {
101
        return true;
94
        return true;
102
    }
95
    }
103
 
-
 
104
    /**
-
 
105
     * @deprecated since Moodle 3.10.
-
 
106
     */
-
 
107
    public function extend_lock() {
-
 
108
        throw new coding_exception('The function extend_lock() has been removed, please do not use it anymore.');
-
 
109
    }
-
 
110
 
-
 
111
}
96
}