Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 112... Línea 112...
112
    public function supports_auto_release() {
112
    public function supports_auto_release() {
113
        return true;
113
        return true;
114
    }
114
    }
Línea 115... Línea 115...
115
 
115
 
116
    /**
-
 
117
     * @deprecated since Moodle 3.10.
-
 
118
     */
-
 
119
    public function supports_recursion() {
-
 
120
        throw new coding_exception('The function supports_recursion() has been removed, please do not use it anymore.');
-
 
121
    }
-
 
122
 
-
 
123
    /**
116
    /**
124
     * This function generates the unique index for a specific lock key using
117
     * This function generates the unique index for a specific lock key using
125
     * a sha1 prefix converted to decimal.
118
     * a sha1 prefix converted to decimal.
126
     *
119
     *
127
     * @param string $key
120
     * @param string $key
Línea 223... Línea 216...
223
        }
216
        }
224
        return $result;
217
        return $result;
225
    }
218
    }
Línea 226... Línea 219...
226
 
219
 
227
    /**
-
 
228
     * @deprecated since Moodle 3.10.
-
 
229
     */
-
 
230
    public function extend_lock() {
-
 
231
        throw new coding_exception('The function extend_lock() has been removed, please do not use it anymore.');
-
 
232
    }
-
 
233
 
-
 
234
    /**
220
    /**
235
     * Auto release any open locks on shutdown.
221
     * Auto release any open locks on shutdown.
236
     * This is required, because we may be using persistent DB connections.
222
     * This is required, because we may be using persistent DB connections.
237
     */
223
     */
238
    public function auto_release() {
224
    public function auto_release() {