summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Service/StatusService.php10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/Service/StatusService.php b/lib/Service/StatusService.php
index 066c63ff3..31011be9f 100644
--- a/lib/Service/StatusService.php
+++ b/lib/Service/StatusService.php
@@ -59,15 +59,9 @@ class StatusService {
'version' => $version,
'warnings' => [
'improperlyConfiguredCron' => !$this->isProperlyConfigured(),
- 'incorrectDbCharset' => $this->hasIncorrectCharset()
+ 'incorrectDbCharset' => !$this->connection->supports4ByteText()
]
];
}
- public function hasIncorrectCharset() {
- $charset = $this->connection->getParams()['charset'];
- $platform = $this->connection->getDatabasePlatform();
- return $platform instanceof MySqlPlatform && $charset !== 'utf8mb4';
- }
-
-} \ No newline at end of file
+}