Beispiel #1
0
 public function deleteAction()
 {
     $id = $this->_getParam('id');
     $comments = new Application_Model_Comments();
     $comments->delete("id={$id}");
     $this->_redirect('/comment/retrieve');
 }