Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 95... Línea 95...
95
        }
95
        }
96
        return !$preventfilelocking || !$lockdirisdataroot;
96
        return !$preventfilelocking || !$lockdirisdataroot;
97
    }
97
    }
Línea 98... Línea 98...
98
 
98
 
99
    /**
-
 
100
     * @deprecated since Moodle 3.10.
-
 
101
     */
-
 
102
    public function supports_recursion() {
-
 
103
        throw new coding_exception('The function supports_recursion() has been removed, please do not use it anymore.');
-
 
104
    }
-
 
105
 
-
 
106
    /**
99
    /**
107
     * Get some info that might be useful for debugging.
100
     * Get some info that might be useful for debugging.
108
     * @return boolean - string
101
     * @return boolean - string
109
     */
102
     */
110
    protected function get_debug_info() {
103
    protected function get_debug_info() {
Línea 172... Línea 165...
172
 
165
 
173
        $result = flock($handle, LOCK_UN);
166
        $result = flock($handle, LOCK_UN);
174
        fclose($handle);
167
        fclose($handle);
175
        return $result;
168
        return $result;
176
    }
-
 
177
 
-
 
178
    /**
-
 
179
     * @deprecated since Moodle 3.10.
-
 
180
     */
-
 
181
    public function extend_lock() {
-
 
182
        throw new coding_exception('The function extend_lock() has been removed, please do not use it anymore.');
-
 
183
    }
-
 
184
 
169
    }