You are here

function opigno_lms_update_9010 in Opigno LMS 3.x

Fix the last update number for opigno_certificate module.

File

./opigno_lms.install, line 294
Install, update and uninstall functions for the "opigno_lms" installation profile.

Code

function opigno_lms_update_9010() {
  drupal_set_installed_schema_version('opigno_certificate', 8025);
  if ((int) drupal_get_installed_schema_version('opigno_learning_path') > 9005) {
    drupal_set_installed_schema_version('opigno_learning_path', 9005);
  }
  _opigno_lms_apply_update('module', 'opigno_certificate', 'config/install', [
    'core.date_format.certificate_date',
  ]);
}