Commit 60e03db3 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Set ownerformat correctly on system profile view

parent 6137ff14
......@@ -558,6 +558,7 @@ function xmldb_core_upgrade($oldversion=0) {
}
if (!get_record('view', 'owner', 0, 'type', 'profile')) {
// Install system profile view
require_once(get_config('libroot') . 'view.php');
$dbtime = db_format_timestamp(time());
$viewdata = (object) array(
'type' => 'profile',
......
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