mirror of
https://github.com/moodle/moodle.git
synced 2025-03-24 17:40:26 +01:00
Merge branch 'MDL-61707-master' of git://github.com/mihailges/moodle
This commit is contained in:
commit
653c30708d
@ -383,5 +383,8 @@ $definitions = array(
|
||||
'simplekeys' => true,
|
||||
'simpledata' => true,
|
||||
'ttl' => 1800,
|
||||
'invalidationevents' => array(
|
||||
'createduser',
|
||||
)
|
||||
),
|
||||
);
|
||||
|
@ -122,6 +122,9 @@ function user_create_user($user, $updatepassword = true, $triggerevent = true) {
|
||||
\core\event\user_created::create_from_userid($newuserid)->trigger();
|
||||
}
|
||||
|
||||
// Purge the associated caches.
|
||||
cache_helper::purge_by_event('createduser');
|
||||
|
||||
return $newuserid;
|
||||
}
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$version = 2018072000.00; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
$version = 2018072000.01; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
// RR = release increments - 00 in DEV branches.
|
||||
// .XX = incremental changes.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user