Commit e263d34f authored by Nigel McNie's avatar Nigel McNie
Browse files

createuser event needs the activity library available to it.

I'm not sure if this is the right place to include the lib but it works.
parent ed51531c
......@@ -605,6 +605,7 @@ function core_install_lastcoredata_defaults() {
set_profile_field($user->id, 'firstname', $user->firstname);
set_profile_field($user->id, 'lastname', $user->lastname);
set_config('installed', true);
handle_event('createuser', $user->id);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment