]> git.agnieray.net Git - galette.git/blobdiff - galette/lib/Galette/Controllers/CrudController.php
Fix issues on dynamics table removal
[galette.git] / galette / lib / Galette / Controllers / CrudController.php
index dda1e2e7202b1eae73768bee95ddd4d77b3394cf..410a75920fd9bbfe150530485ce37c4e9ef6d9aa 100644 (file)
@@ -278,7 +278,6 @@ abstract class CrudController extends AbstractController
             );
         } else {
             try {
-                $this->zdb->connection->beginTransaction();
 
                 $ids = $this->getIdsToRemove($args, $post);
 
@@ -290,9 +289,7 @@ abstract class CrudController extends AbstractController
                     );
                     $success = true;
                 }
-                $this->zdb->connection->commit();
             } catch (\Exception $e) {
-                $this->zdb->connection->rollBack();
                 Analog::log(
                     'An error occurred on delete | ' . $e->getMessage(),
                     Analog::ERROR