function Excluir() { @session_start(); $this->pessoa_logada = $_SESSION['id_pessoa']; @session_write_close(); $obj = new clsPmicontrolesisSoftware($this->cod_software, $this->pessoa_logada, $this->pessoa_logada, $this->nm_software, $this->data_cadastro, $this->data_exclusao, 0); $excluiu = $obj->excluir(); if ($excluiu) { $this->mensagem .= "Exclusão efetuada com sucesso.<br>"; header("Location: controlesis_software_lst.php"); die; return true; } $this->mensagem = "Exclusão não realizada.<br>"; echo "<!--\nErro ao excluir clsPmicontrolesisSoftware\nvalores obrigatorios\nif( is_numeric( {$this->cod_software} ) && is_numeric( {$this->ref_funcionario_exc} ) )\n-->"; return false; }