Commit 61eb1ee7 authored by Steve Müller's avatar Steve Müller

simplify database platform retrieval

parent a8ca7802
......@@ -322,12 +322,10 @@ class Connection implements DriverConnection
*/
public function getDatabasePlatform()
{
if (null !== $this->platform) {
return $this->platform;
if (null == $this->platform) {
$this->detectDatabasePlatform();
}
$this->detectDatabasePlatform();
return $this->platform;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment