Db: no transaction for settings

This commit is contained in:
Thomas Gelf 2016-02-15 08:25:52 +01:00
parent c0ee54b81c
commit 22918f99b1
1 changed files with 0 additions and 2 deletions

View File

@ -79,7 +79,6 @@ class Db extends DbConnection
public function storeSetting($name, $value) public function storeSetting($name, $value)
{ {
$db = $this->db(); $db = $this->db();
$db->beginTransaction();
$updated = $db->update( $updated = $db->update(
'director_setting', 'director_setting',
array('setting_value' => $value), array('setting_value' => $value),
@ -96,7 +95,6 @@ class Db extends DbConnection
); );
} }
$db->commit();
if ($this->settings !== null) { if ($this->settings !== null) {
$this->settings[$name] = $value; $this->settings[$name] = $value;
} }