uninstall 437 B

123456789101112131415161718
  1. <?php
  2. require_once(dirname(__FILE__).'/DoorLog.class.php');
  3. require_once(dirname(__FILE__).'/DoorAccess.class.php');
  4. $table = new DoorAccess();
  5. $table->drop();
  6. $table = new DoorLog();
  7. $table->drop();
  8. $table_section = new Section();
  9. $id_section = $table_section->load(array("label"=>"door"))->getId();
  10. $table_section->delete(array('label'=>'door'));
  11. $table_right = new Right();
  12. $table_right->delete(array('section'=>$id_section));
  13. ?>