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

not clear if defined('MOODLE_INTERNAL') is due

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.5
    • Forum

      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?

            daniss Daniele Cordella
            daniss Daniele Cordella
            Andrew Lyons Andrew Lyons
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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