Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 40... Línea 40...
40
    /**
40
    /**
41
     * Do the job.
41
     * Do the job.
42
     * Throw exceptions on errors (the job will be retried).
42
     * Throw exceptions on errors (the job will be retried).
43
     */
43
     */
44
    public function execute() {
44
    public function execute() {
-
 
45
        // Only execute the task if site is public.
-
 
46
        if (site_is_public()) {
45
        \core\hub\registration::update_cron();
47
            \core\hub\registration::update_cron();
-
 
48
        }
46
    }
49
    }
Línea 47... Línea 50...
47
 
50