Skip to content
Snippets Groups Projects
Unverified Commit d90722b3 authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo
Browse files

Remove superfluous if statement.

parent 5b6954ba
No related branches found
No related tags found
No related merge requests found
...@@ -345,7 +345,6 @@ class sspmod_consent_Consent_Store_Database extends sspmod_consent_Store ...@@ -345,7 +345,6 @@ class sspmod_consent_Consent_Store_Database extends sspmod_consent_Store
} }
$st = $db->prepare($statement); $st = $db->prepare($statement);
if ($st === false) {
if ($st === false) { if ($st === false) {
SimpleSAML\Logger::error( SimpleSAML\Logger::error(
'consent:Database - Error preparing statement \'' . 'consent:Database - Error preparing statement \'' .
...@@ -353,7 +352,6 @@ class sspmod_consent_Consent_Store_Database extends sspmod_consent_Store ...@@ -353,7 +352,6 @@ class sspmod_consent_Consent_Store_Database extends sspmod_consent_Store
); );
return false; return false;
} }
}
if ($st->execute($parameters) !== true) { if ($st->execute($parameters) !== true) {
SimpleSAML\Logger::error( SimpleSAML\Logger::error(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment