Commit 265f7829 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

System user profile view still installing twice during upgrade

parent 7115cc8f
......@@ -1224,6 +1224,9 @@ function install_default_profile_view($eventdata) {
require_once(get_config('libroot') . 'view.php');
$viewid = install_system_profile_view();
if ($eventdata['id'] == 0) {
return;
}
$view = copy_view_for_user($eventdata['id'], $viewid);
$view->set_access(array(
array(
......
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