);
} else {
try {
- $this->zdb->connection->beginTransaction();
$ids = $this->getIdsToRemove($args, $post);
);
$success = true;
}
- $this->zdb->connection->commit();
} catch (\Exception $e) {
- $this->zdb->connection->rollBack();
Analog::log(
'An error occurred on delete | ' . $e->getMessage(),
Analog::ERROR