PageRenderTime 16ms CodeModel.GetById 10ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/controller/noticia/remover.php

https://bitbucket.org/denissilva/cgpdi_admin
PHP | 10 lines | 8 code | 2 blank | 0 comment | 0 complexity | d2be8e63ee1a8a0302007d3eb5971bbb MD5 | raw file
 1<?php  
 2    require_once ('../../dao/NoticiaDao.php');
 3
 4    $dao     = new NoticiaDao();
 5
 6    try {
 7        $dao->remover($_GET['id']);
 8    } catch (Exception $ex) {
 9        return $ex->getMessage();
10    }