mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 18:36:42 +02:00
MDL-61038 setuplib: Fixed PECL UUID extension support
generate_uuid() has been refactored into \core\uuid::generate()
This commit is contained in:
parent
f3507273e9
commit
c7321899c9
5 changed files with 217 additions and 37 deletions
|
@ -103,7 +103,7 @@ class db_record_lock_factory implements lock_factory {
|
|||
* to duplicates in a clustered environment (especially on VMs due to poor time precision).
|
||||
*/
|
||||
protected function generate_unique_token() {
|
||||
return generate_uuid();
|
||||
return \core\uuid::generate();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue