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

not clear if defined('MOODLE_INTERNAL') is due

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 3.5
    • None
    • Forum

    Description

      In the file classes/task/cron_task.php of the scorm module I read:

      namespace mod_scorm\task;
      defined('MOODLE_INTERNAL') || die();
      

      In the same file of the forum module I read:

      namespace mod_forum\task;
      

      without "defined('MOODLE_INTERNAL') || die();"

      Not sure if they are correct both?

      Attachments

        Issue Links

          Activity

            People

              daniss Daniele Cordella
              daniss Daniele Cordella
              Andrew Lyons Andrew Lyons
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: