public function executeDelete(sfWebRequest $request){
Doctrine::getTable('User')
->findBy('id', $request->getParameter('id'))
->delete();
$this->redirect('SOME/PAGE');
$this->setTemplate(false);
}
Doctrine simplify our CRUD operations, here we just give Id of the record to be deleted and use delete() method or Doctrine to remove that record.