mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 05:48:51 +00:00
[ticket/13385] Remove unneeded $result in \phpbb\config\db::set_atomic()
PHPBB3-13385
This commit is contained in:
parent
3638b2ff64
commit
38f184ad6b
1 changed files with 2 additions and 2 deletions
|
@ -145,9 +145,9 @@ class db extends \phpbb\config\config
|
||||||
$sql .= " AND config_value = '" . $this->db->sql_escape($old_value) . "'";
|
$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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue