MDL-66712 enrol: Fix the reported days of inactivity on unenrolment
authorDavid Mudrák <david@moodle.com>
Thu, 16 Jan 2020 12:35:01 +0000 (13:35 +0100)
committerDavid Mudrák <david@moodle.com>
Thu, 16 Jan 2020 12:35:01 +0000 (13:35 +0100)
commit0845825659c191edf3245344e30e086a511fa379
treed90cb89ee67f2fd3f75295ad40870377a1f0859e
parent77d1c415025f99f1c36dae67aac7af11b8a34b50
MDL-66712 enrol: Fix the reported days of inactivity on unenrolment

There were two problems here. Firstly, the $days was not correctly
calculated due to missing parentheses. Secondly, the sentence had
grammar issues.
enrol/self/lib.php
enrol/self/tests/self_test.php