diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2020-09-24 11:32:55 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2020-09-24 11:32:55 -0100 |
commit | 6d9afed84221d5485330f62eff6be1bebee404f3 (patch) | |
tree | e045542cb98a62a9f17efa095694e1ed5ce733a0 /appinfo | |
parent | 888d9931413f5ddbb540ca8d9ca4833cf74ddbde (diff) |
compat nc20
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/app.php | 42 | ||||
-rw-r--r-- | appinfo/autoload.php | 37 | ||||
-rw-r--r-- | appinfo/info.xml | 2 |
3 files changed, 1 insertions, 80 deletions
diff --git a/appinfo/app.php b/appinfo/app.php deleted file mode 100644 index 69e8e257..00000000 --- a/appinfo/app.php +++ /dev/null @@ -1,42 +0,0 @@ -<?php -declare(strict_types=1); - - -/** - * Nextcloud - Social Support - * - * This file is licensed under the Affero General Public License version 3 or - * later. See the COPYING file. - * - * @author Maxence Lange <maxence@artificial-owl.com> - * @copyright 2018, Maxence Lange <maxence@artificial-owl.com> - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ - -namespace OCA\Social\AppInfo; - - -require_once __DIR__ . '/autoload.php'; - - -/** @var Application $app */ -$app = \OC::$server->query(Application::class); - -$app->checkUpgradeStatus(); -$app->registerWebfinger(); - - diff --git a/appinfo/autoload.php b/appinfo/autoload.php deleted file mode 100644 index 3427325f..00000000 --- a/appinfo/autoload.php +++ /dev/null @@ -1,37 +0,0 @@ -<?php -declare(strict_types=1); - - -/** - * Nextcloud - Social Support - * - * This file is licensed under the Affero General Public License version 3 or - * later. See the COPYING file. - * - * @author Maxence Lange <maxence@artificial-owl.com> - * @copyright 2018, Maxence Lange <maxence@artificial-owl.com> - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ - -namespace OCA\Social\AppInfo; - -$composerDir = __DIR__ . '/../vendor/'; - -if (is_dir($composerDir) && file_exists($composerDir . 'autoload.php')) { - require_once $composerDir . 'autoload.php'; -} - diff --git a/appinfo/info.xml b/appinfo/info.xml index 70e44372..84a72e5b 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -35,7 +35,7 @@ <database>pgsql</database> <database>sqlite</database> <database>mysql</database> - <nextcloud min-version="17" max-version="19"/> + <nextcloud min-version="20" max-version="21"/> </dependencies> <background-jobs> |