/** * Deletes a form from the entry tables. * @param I2CE_Form $form * @param boolean $transact: a flag to use transactions or not. default: true * @return boolean */ public function delete($form, $transact) { I2CE::raiseError("MDS attempting to delete " . $form->getFormID()); $form_config = $this->getFormConfig($form); if ($form_config instanceof I2CE_MagicDataNode) { I2CE::raiseError("MDS deleting " . $form->getFormID()); $form_config->erase(); } return true; }