public function executeDelete(sfWebRequest $request) { $request->checkCSRFProtection(); $this->dispatcher->notify(new sfEvent($this, 'admin.delete_object', array('object' => $this->getRoute()->getObject()))); if ($this->getRoute()->getObject()->delete()) { $this->getUser()->setFlash('notice', 'The item was deleted successfully.'); } $this->redirect('@
Fatal error: Using $this when not in object context in /home/zululandmx/wagabundotravel.com/symfony-1.4.20/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/parts/deleteAction.php on line 12