From 22918f99b12ca515d553b21a1254527f978246c2 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Mon, 15 Feb 2016 08:25:52 +0100 Subject: [PATCH] Db: no transaction for settings --- library/Director/Db.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/library/Director/Db.php b/library/Director/Db.php index a2fd9676..b659975c 100644 --- a/library/Director/Db.php +++ b/library/Director/Db.php @@ -79,7 +79,6 @@ class Db extends DbConnection public function storeSetting($name, $value) { $db = $this->db(); - $db->beginTransaction(); $updated = $db->update( 'director_setting', array('setting_value' => $value), @@ -96,7 +95,6 @@ class Db extends DbConnection ); } - $db->commit(); if ($this->settings !== null) { $this->settings[$name] = $value; }