function Excluir() { @session_start(); $this->id_pessoa = @$_SESSION['id_pessoa']; session_write_close(); $objGrupoPessoa = new clsGrupoPessoa(false, $this->cod_grupos, false, $this->id_pessoa); $objGrupoPessoa->exclui_todos(); $objGrupoModerador = new clsGrupoModerador(false, $this->cod_grupos, false, $this->id_pessoa); $objGrupoModerador->excluiTodos(); $objGrupos = new clsGrupos($this->cod_grupos, false, $this->id_pessoa, $this->nm_grupo, 2); if ($objGrupos->exclui()) { header("Location: otopic_grupos_lst.php"); } return false; }