Skip to content
This repository was archived by the owner on Jun 17, 2020. It is now read-only.
This repository was archived by the owner on Jun 17, 2020. It is now read-only.

Why low level access to DB if there is an API? #4

Description

@mudrd8mz

It seem your plugin is directly inserting records into the enrol_lti_tools table. Why not to use enrol_lti_plugin::add_instance() API instead? Of course after checking other methods such as can_add_instance().

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