Commit a26c200d authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Don't try to insert createuser event after fresh install

parent d13da888
......@@ -1377,8 +1377,10 @@ function xmldb_core_upgrade($oldversion=0) {
if (!record_exists('event_subscription', 'event', 'createuser', 'callfunction', 'install_default_profile_view')) {
insert_record('event_subscription', (object)array('event' => 'createuser', 'callfunction' => 'install_default_profile_view'));
return $status;
Markdown is supported
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