зеркало из https://github.com/nextcloud/news.git
Signed-off-by: Daniel Opitz <git@copynpaste.de>
This commit is contained in:
Родитель
3b83d8d3cb
Коммит
10c0b1ff10
|
@ -13,8 +13,6 @@
|
|||
|
||||
namespace OCA\News\Service;
|
||||
|
||||
use Doctrine\DBAL\Platforms\MySqlPlatform;
|
||||
|
||||
use OCP\IConfig;
|
||||
use OCP\IDBConnection;
|
||||
|
||||
|
@ -22,13 +20,13 @@ use OCA\News\Config\Config;
|
|||
|
||||
class StatusService
|
||||
{
|
||||
|
||||
/** @var IConfig */
|
||||
private $settings;
|
||||
/** @var Config */
|
||||
private $config;
|
||||
/** @var string */
|
||||
private $appName;
|
||||
/**
|
||||
* @var IDBConnection
|
||||
*/
|
||||
/** @var IDBConnection */
|
||||
private $connection;
|
||||
|
||||
public function __construct(
|
||||
|
|
|
@ -23,20 +23,3 @@
|
|||
</ul>
|
||||
</news-instant-notification>
|
||||
<?php }; ?>
|
||||
|
||||
<?php if ($_['warnings']['incorrectDbCharset']) { ?>
|
||||
<news-instant-notification id="cron-warning">
|
||||
<p><?php p($l->t('Non UTF-8 charset for MySQL/MariaDB database detected!')); ?></p>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://docs.nextcloud.com/server/latest/admin_manual/configuration_database/mysql_4byte_support.html"
|
||||
target="_blank"
|
||||
rel="noreferrer">
|
||||
<?php
|
||||
p($l->t('Learn how to convert your database to utf8mb4 (make a backup beforehand)'));
|
||||
?>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</news-instant-notification>
|
||||
<?php }; ?>
|
||||
|
|
Загрузка…
Ссылка в новой задаче