Commit 9e70f3f3 authored by Nigel McNie's avatar Nigel McNie
Browse files

Add an upgrade to add the blockinstancecommit event type.

parent e18be152
......@@ -377,6 +377,14 @@ function xmldb_core_upgrade($oldversion=0) {
set_config('imagemaxheight', 1024);
}
// Add the 'blockinstancecommit' event type
if ($oldversion < 2007082203) {
$event = (object)array(
'name' => 'blockinstancecommit',
);
ensure_record_exists('event_type', $event, $event);
}
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