B
B
Ben L2020-07-18 22:22:59
PHP
Ben L, 2020-07-18 22:22:59

How to execute script 1 time on moodle update?

We need a script that will be executed once when the user updates the moodle (this script should do some fixes). Tell me how you can make such a script (I'm looking in the doc. But so far I haven't found anything).

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Kaktys_DH, 2020-07-18
@Kaktys_DH

Find out how to implement the 'Page Preload' condition
Now just tell me what fixes to do

A
alekseyHunter, 2020-07-18
@alekseyHunter

Moodle does an update when a module version is updated.
Look for a redefinition of the update function.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question