Skip to content
This repository has been archived by the owner on Jan 15, 2018. It is now read-only.

get_links() should be more efficient #2

Closed
danmarsden opened this issue Mar 1, 2015 · 0 comments
Closed

get_links() should be more efficient #2

danmarsden opened this issue Mar 1, 2015 · 0 comments

Comments

@danmarsden
Copy link

The call to plagiarism::get_links() is made in the core code in a lot of different places but as your code only supports the assignment module you should add a sanity check to ensure it comes from the assignment module before making a db call:
https://github.com/onno-schuit/copycheck/blob/master/moodle-plagiarism_copycheck/lib.php#L54

martijnspruijt added a commit that referenced this issue Mar 5, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants