Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
265f7829
Commit
265f7829
authored
Oct 03, 2008
by
Richard Mansfield
Browse files
System user profile view still installing twice during upgrade
parent
7115cc8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/user.php
View file @
265f7829
...
...
@@ -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
(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment