uninstall.php 280 B

1234567891011121314
  1. <?php
  2. /* For license terms, see /license.txt */
  3. /**
  4. * Uninstall the MSI/LTI Plugin.
  5. *
  6. * @package chamilo.plugin.ims_lti
  7. */
  8. if (!api_is_platform_admin()) {
  9. die('You must have admin permissions to uninstall plugins');
  10. }
  11. ImsLtiPlugin::create()->uninstall();