. namespace core\task; defined('MOODLE_INTERNAL') || die(); require_once($CFG->libdir . '/db/upgradelib.php'); /** * Retroactively fixes file timestamps that are older than the containing folder record. * * @package core * @author Peter Burnett * @copyright Catalyst IT, 2021 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class fix_file_timestamps_task extends adhoc_task { /** * Run the adhoc task and fix the file timestamps. */ public function execute() { upgrade_fix_file_timestamps(); } }