/** * Updates an referentiel instance * * This is done by calling the update_instance() method of the referentiel type class */ function referentiel_update_instance($referentiel) { global $CFG; $ref = new referentiel(); return $ref->update_instance($referentiel); }