summaryrefslogtreecommitdiffstats
path: root/lib/private/DB/Connection.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/DB/Connection.php')
-rw-r--r--lib/private/DB/Connection.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/private/DB/Connection.php b/lib/private/DB/Connection.php
index 0ee58a54ece..9e116712642 100644
--- a/lib/private/DB/Connection.php
+++ b/lib/private/DB/Connection.php
@@ -419,9 +419,6 @@ class Connection extends \Doctrine\DBAL\Connection implements IDBConnection {
if (!$this->getDatabasePlatform() instanceof MySqlPlatform) {
return true;
}
- if ($this->getParams()['charset'] === 'utf8mb4') {
- return true;
- }
- return false;
+ return $this->getParams()['charset'] === 'utf8mb4';
}
}