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 d8a1a67 commit f59938a
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): arr
* @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 f59938a

Please sign in to comment.