MDL-58768 mod_assign: Added userid param to calendar callbacks
authorShamim Rezaie <shamim@moodle.com>
Thu, 5 Apr 2018 08:17:36 +0000 (18:17 +1000)
committerShamim Rezaie <shamim@moodle.com>
Fri, 27 Jul 2018 21:51:33 +0000 (07:51 +1000)
commitfda4374a678302c36c89594671568651714b9357
treedad71473d6634102094b0ce4b955fad0c2fae7ce
parent907b175c050c987eb64c8559e6554e4323a9ab46
MDL-58768 mod_assign: Added userid param to calendar callbacks

The mod_assign_core_calendar_is_event_visible and mod_assign_core_calendar_provide_event_action
functions now accept a new parameter ($userid) so they are not always dependet to the logged in user.
mod/assign/lib.php
mod/assign/tests/lib_test.php