aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-01-04 21:06:58 +0100
committerMarc Alexander <admin@m-a-styles.de>2015-01-09 13:41:36 +0100
commit38f184ad6b18c6d6f0c9368bcd02eda5cb45ef10 (patch)
tree8869f3fd00c16cd6bf93fb34cb0f7636da7a2c4d /phpBB/phpbb/config
parentMerge pull request #3254 from VSEphpbb/ticket/13440 (diff)
downloadphpbb-38f184ad6b18c6d6f0c9368bcd02eda5cb45ef10.tar.gz
phpbb-38f184ad6b18c6d6f0c9368bcd02eda5cb45ef10.tar.bz2
phpbb-38f184ad6b18c6d6f0c9368bcd02eda5cb45ef10.zip
[ticket/13385] Remove unneeded $result in \phpbb\config\db::set_atomic()
PHPBB3-13385
Diffstat (limited to 'phpBB/phpbb/config')
-rw-r--r--phpBB/phpbb/config/db.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/config/db.php b/phpBB/phpbb/config/db.php
index ef20ebf62a..26489bdd34 100644
--- a/phpBB/phpbb/config/db.php
+++ b/phpBB/phpbb/config/db.php
@@ -145,9 +145,9 @@ class db extends \phpbb\config\config
$sql .= " AND config_value = '" . $this->db->sql_escape($old_value) . "'";
}
- $result = $this->db->sql_query($sql);
+ $this->db->sql_query($sql);
- if (!$this->db->sql_affectedrows($result) && isset($this->config[$key]))
+ if (!$this->db->sql_affectedrows() && isset($this->config[$key]))
{
return false;
}