Fix uninstall whispeakauth plugin - refs BT#14921

pull/2818/head
Angel Fernando Quiroz Campos 6 years ago
parent 2018ff7c9b
commit 0a5f8052c8
  1. 4
      plugin/whispeakauth/WhispeakAuthPlugin.php

@ -63,6 +63,10 @@ class WhispeakAuthPlugin extends Plugin
} }
$em = Database::getManager(); $em = Database::getManager();
$em->createQuery('DELETE FROM ChamiloCoreBundle:ExtraFieldValues efv WHERE efv.field = :field')
->execute(['field' => $extraField]);
$em->remove($extraField); $em->remove($extraField);
$em->flush(); $em->flush();
} }

Loading…
Cancel
Save