Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function postSave($event)
- {
- $id = $event->getInvoker()->id;
- $galeria = Doctrine_Query::create()
- ->delete()
- ->from('Galeria g')
- ->where('id = ?', $id)
- ->andWhere('archivo = ?', NULL)
- ->execute();
- }
Add Comment
Please, Sign In to add comment