uninstall.php 211 B

12345678910
  1. <?php
  2. /* PHP code to uninstall the plugin */
  3. api_protect_admin_script();
  4. $table = 'vchamilo';
  5. $tablename = Database::get_main_table($table);
  6. $sql = " DROP TABLE IF EXISTS $tablename ";
  7. Database::query($sql);