diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2017-05-24 20:52:23 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2017-05-24 20:52:23 +0200 |
commit | 42c57af9f883984429ae1c529855eeeed7013588 (patch) | |
tree | d6885234eaea8fc86a782d7cd44466a55e6d27a9 /appinfo | |
parent | 51095a9276fe24cdc2127d85ca461338e27e8ba3 (diff) |
better link11.0.3
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/info.xml | 2 | ||||
-rw-r--r-- | appinfo/install.php | 18 | ||||
-rw-r--r-- | appinfo/update.php | 2 |
3 files changed, 1 insertions, 21 deletions
diff --git a/appinfo/info.xml b/appinfo/info.xml index fae408c05..00ceb5aab 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -8,7 +8,7 @@ Before you update to a new version, [check the changelog](https://github.com/nextcloud/news/blob/master/CHANGELOG.md) to avoid surprises. **Important**: To enable feed updates you will need to enable either [Nextcloud system cron](https://docs.nextcloud.com/server/10/admin_manual/configuration_server/background_jobs_configuration.html#cron) or use [an updater](https://github.com/nextcloud/news-updater) which uses the built in update API and disable cron updates. More information can be found [in the README](https://github.com/nextcloud/news).]]></description> - <version>11.0.2</version> + <version>11.0.3</version> <licence>agpl</licence> <author>Bernhard Posselt</author> <author>Alessandro Cosentino</author> diff --git a/appinfo/install.php b/appinfo/install.php deleted file mode 100644 index 3bf3cde1f..000000000 --- a/appinfo/install.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php -namespace OCA\News\AppInfo; - -use Exception; -use OC; -use Doctrine\DBAL\Platforms\MySqlPlatform; - -// fail early when an incorrectly configured mysql instances is found to -// prevent update errors and data loss -$charset = OC::$server->getDatabaseConnection()->getParams()['charset']; -$platform = OC::$server->getDatabaseConnection()->getDatabasePlatform(); -if ($platform instanceof MySqlPlatform && $charset !== 'utf8mb4') { - $msg = 'App can not be installed because database MySql/MariaDb uses a ' . - 'non UTF8 charset: ' . $charset .'. Learn more on how to migrate ' . - 'your database to utf8mb4 after making a backup at ' . - 'https://dba.stackexchange.com/a/21684'; - throw new Exception($msg); -}
\ No newline at end of file diff --git a/appinfo/update.php b/appinfo/update.php deleted file mode 100644 index 7f0a9a4c5..000000000 --- a/appinfo/update.php +++ /dev/null @@ -1,2 +0,0 @@ -<?php -require_once __DIR__ . '/install.php';
\ No newline at end of file |