update.php 349 B

1234567891011121314
  1. <?php
  2. /* For licensing terms, see /license.txt */
  3. /**
  4. * This script is meant to update previous version the plugin.
  5. *
  6. * @package chamilo.plugin.customcertificate
  7. */
  8. require_once __DIR__.'/config.php';
  9. if (!api_is_platform_admin()) {
  10. die('You must have admin permissions to install plugins');
  11. }
  12. CustomCertificatePlugin::create()->update();