Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-53697

Drop support for module callback get_types() in 3.5

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.6
    • 3.1
    • Course
    • MOODLE_31_STABLE
    • MOODLE_36_STABLE
    • MDL-53697-master
    • Hide
      • This test requires updating code.

        Regression test

      1. Go to mod/lesson/lib.php and put the following function at the end of the file.

        function mod_lesson_get_shortcuts($defaultmodule) {
            $item = (object) [
                'title' => 'Things about lesson',
                'name' => 'New lesson item',
                'link' => new moodle_url('/mod/lesson/view.php', ['id' => 3])
            ];
            return [$defaultmodule, $item];
        }
        

      2. Go to a course and open the activity picker "Add an activity or resource"
      3. There should now be a new item under "Activities" with the same icon as the lesson called "Things about lesson".
      Show
      This test requires updating code. Regression test Go to mod/lesson/lib.php and put the following function at the end of the file. function mod_lesson_get_shortcuts($defaultmodule) { $item = (object) [ 'title' => 'Things about lesson', 'name' => 'New lesson item', 'link' => new moodle_url('/mod/lesson/view.php', ['id' => 3]) ]; return [$defaultmodule, $item]; } Go to a course and open the activity picker "Add an activity or resource" There should now be a new item under "Activities" with the same icon as the lesson called "Things about lesson".

      Deprecated under MDL-45064 in Moodle 3.1
      Also drop support for similar ltisource callback.

            abgreeve Adrian Greeve
            marina Marina Glancy
            Victor Déniz Falcón Victor Déniz Falcón
            Andrew Lyons Andrew Lyons
            Elizabeth Dalton Elizabeth Dalton
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.