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
integration
prechecker
Commits
34adfcb4
Commit
34adfcb4
authored
Dec 12, 2017
by
Damyon Wiese
Browse files
Merge branch 'MDL-54021-master' of
git://github.com/mihailges/moodle
parents
807ba44c
d3817323
Changes
1
Hide whitespace changes
Inline
Side-by-side
completion/criteria/completion_criteria_activity.php
View file @
34adfcb4
...
...
@@ -279,7 +279,8 @@ class completion_criteria_activity extends completion_criteria {
$details
[
'requirement'
][]
=
get_string
(
'markingyourselfcomplete'
,
'completion'
);
}
elseif
(
$cm
->
completion
==
COMPLETION_TRACKING_AUTOMATIC
)
{
if
(
$cm
->
completionview
)
{
$details
[
'requirement'
][]
=
get_string
(
'viewingactivity'
,
'completion'
,
$this
->
module
);
$modulename
=
core_text
::
strtolower
(
get_string
(
'modulename'
,
$this
->
module
));
$details
[
'requirement'
][]
=
get_string
(
'viewingactivity'
,
'completion'
,
$modulename
);
}
if
(
!
is_null
(
$cm
->
completiongradeitemnumber
))
{
...
...
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