function instance_perform_delete(){ $main=new maincf_multi($_GET["hostname"],$_GET["ou"]); $main->remove_instance(); }