Exemplo n.º 1
0
 protected function deleteIfFails($bean, $args)
 {
     // if we already have the revision, we won't delete the document on failure to add another one
     if ($bean->document_revision_id) {
         return;
     }
     parent::deleteIfFails($bean, $args);
 }