uninstall 278 B

123456789101112
  1. <?php
  2. $table = new Room();
  3. $table->drop();
  4. $table_section = new Section();
  5. $id_section = $table_section->load(array("label"=>"room"))->getId();
  6. $table_section->delete(array('label'=>'room'));
  7. $table_right = new Right();
  8. $table_right->delete(array('section'=>$id_section));
  9. ?>