Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.4.0-b1
-
Component/s: None
-
Labels:None
Description
Plugin installation is current wrapped in a database transaction (i.e. begin + rollback|commit). This is an issue however because many plugins create database tables, which performs an implicit commit. The PHP 7 PDO pretends like the commit hasn't happened and thus allowed us to make a call to commit|rollback. PHP 8 does not.
We should remove the database transaction since it causes issues and doesn't actually do anything for plugins that create a database table (which is most).