Skip to content

Unnecesary MOODLE_INTERNAL check #3

Description

@mudrd8mz

Files like report.php that start with loading config.php, do not need to perform the MOODLE_INTERNAL check. Also, the recommended pattern for request handlers like this is to use require() to load the config.php, and then use require_once() to load any additional library needed.

https://docs.moodle.org/dev/Coding_style#Require_.2F_include

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions