Skip to content

Commit

Permalink
fix: remove unneeded escape
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Mar 27, 2024
1 parent 24ee92c commit 5dd950c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions system/Database/Forge.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,7 @@ private function databaseExists(string $dbName): bool
return false;
}

return $this->db->query(
$this->checkDatabaseExistStr,
$this->db->escapeIdentifier($dbName)
)->getRow() !== null;
return $this->db->query($this->checkDatabaseExistStr, $dbName)->getRow() !== null;
}

/**
Expand Down

0 comments on commit 5dd950c

Please sign in to comment.