Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M40 Local Recompletion does not show "run now" in Tasks #53

Closed
gemguardian opened this issue Jul 25, 2022 · 5 comments
Closed

M40 Local Recompletion does not show "run now" in Tasks #53

gemguardian opened this issue Jul 25, 2022 · 5 comments

Comments

@gemguardian
Copy link

Version: 20220324002022032400
Moodle: 4.0.2
PHP 7.4

Site administration > Server > Scheduled Tasks

In previous versions of Moodle we could click on "Run now" if properly configured in Moodle.
The run now options has dissapeared in M4.0

image

@danmarsden
Copy link
Owner

yeah - I think that's really a bug in Moodle - the "run now" bit is hidden for plugins that are not enabled, but local plugins have no way to state if they are actually enabled or not.

I think the solution is to modify the core\pluginfo\local class to add a get_enabled_plugins() function and just return all local plugins in the site - but that's something we'd need to look at fixing in Moodle upstream (there's nothing I can do within this plugin to fix it afaik)

@gemguardian
Copy link
Author

Do you know if there is already a tracker on this for Moodle? I could not find one yet but just want to be sure before I create on.

@danmarsden
Copy link
Owner

not sure sorry - but it's also an issue with plagiarism plugins as the base plagiarism class doesn't implement the get_enabled_plugins() function either.

@gemguardian
Copy link
Author

Hmm , well I have ceated a tracker (https://tracker.moodle.org/browse/MDL-75308)

Not sure though if have checked the right component/s.

@danmarsden
Copy link
Owner

closing this as it's being resolved in core.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants