function opigno_lms_update_7115 in Opigno LMS 7
Remove old database entries linked to removed modules.
File
- ./
opigno_lms.install, line 1052 - Install, update and uninstall functions for the Opigno LMS installation profile.
Code
function opigno_lms_update_7115(&$sandbox) {
// Remove the old modules from the database.
$modules = array(
'guideme',
'opigno_lms_tour',
);
db_delete('system')
->condition('name', $modules, 'IN')
->condition('type', 'module')
->execute();
}