Esempio n. 1
0
function xmldb_dhfile_log_install()
{
    $result = true;
    unset_all_config_for_plugin('rlipfile_log');
    // Ensure that scheduling is setup correctly.
    rlip_scheduling_init();
    return $result;
}
Esempio n. 2
0
 function can_do_default()
 {
     if (has_capability('moodle/site:config', context_system::instance())) {
         // Ensure that scheduling is setup correctly
         rlip_scheduling_init();
         return true;
     }
     return false;
 }