From f3f37b346a41d84f3221c62f49df8476d697fb93 Mon Sep 17 00:00:00 2001 From: Jens Hausdorf Date: Sat, 25 Nov 2017 16:28:02 +0100 Subject: [PATCH] Remove redundant db commit in Page::setAsLandingPage() (#2478) --- wcfsetup/install/files/lib/data/page/Page.class.php | 1 - 1 file changed, 1 deletion(-) diff --git a/wcfsetup/install/files/lib/data/page/Page.class.php b/wcfsetup/install/files/lib/data/page/Page.class.php index 630a6b887c..2b68d78d34 100644 --- a/wcfsetup/install/files/lib/data/page/Page.class.php +++ b/wcfsetup/install/files/lib/data/page/Page.class.php @@ -264,7 +264,6 @@ class Page extends DatabaseObject implements ILinkableObject, ITitledObject { 1, $this->pageID ]); - WCF::getDB()->commitTransaction(); $sql = "UPDATE wcf".WCF_N."_application SET landingPageID = ? -- 2.20.1