Skip to content

Commit

Permalink
MDL-76964: Undefined constant ASSIGN_EVENT_TYPE_DUE
Browse files Browse the repository at this point in the history
  • Loading branch information
mhughes2k committed Oct 4, 2024
1 parent 886f5c8 commit 6ddca3e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mod/assign/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1813,6 +1813,9 @@ function mod_assign_get_path_from_pluginfile(string $filearea, array $args) : ar
* @return lang_string The event type lang string.
*/
function mod_assign_core_calendar_get_event_action_string(string $eventtype): string {
global $CFG;
require_once($CFG->dirroot . '/mod/assign/locallib.php');

$modulename = get_string('modulename', 'assign');

switch ($eventtype) {
Expand Down

0 comments on commit 6ddca3e

Please sign in to comment.