示例#1
0
 public function executeDelete()
 {
     $sf_guard_user_profile = sfGuardUserProfilePeer::retrieveByPk($this->getRequestParameter('id'));
     $this->forward404Unless($sf_guard_user_profile);
     $sf_guard_user_profile->delete();
     return $this->redirect('@list_members');
 }