daily pastebin goal
30%
SHARE
TWEET

Untitled

a guest Aug 10th, 2018 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public function postSave($event)
  2.   {
  3.     $id = $event->getInvoker()->id;
  4.    
  5.     $galeria = Doctrine_Query::create()
  6.           ->delete()
  7.           ->from('Galeria g')
  8.           ->where('id = ?', $id)
  9.           ->andWhere('archivo = ?', NULL)
  10.           ->execute();
  11.   }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top