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
46549e26
Commit
46549e26
authored
Jan 21, 2007
by
Martyn Smith
Committed by
Martyn Smith
Jan 21, 2007
Browse files
debugging commit, to work out when createuser is called
parent
2e79b021
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/activity.php
View file @
46549e26
...
...
@@ -411,9 +411,14 @@ function activity_get_users($activitytype, $userids=null, $userobjs=null, $admin
* id
*/
function
activity_set_defaults
(
$user_id
)
{
global
$USER
;
log_debug
(
$USER
);
log_debug
(
$user_id
);
$activitytypes
=
get_records_array
(
'activity_type'
,
'admin'
,
0
);
foreach
(
$activitytypes
as
$type
)
{
$USER
->
set_activity_preference
(
$type
->
name
,
'internal'
);
log_debug
(
'set '
.
$type
.
' for '
.
$user_id
);
}
}
...
...
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