From 6d9afed84221d5485330f62eff6be1bebee404f3 Mon Sep 17 00:00:00 2001 From: Maxence Lange Date: Thu, 24 Sep 2020 11:32:55 -0100 Subject: compat nc20 Signed-off-by: Maxence Lange --- appinfo/app.php | 42 ------------------------------------------ appinfo/autoload.php | 37 ------------------------------------- appinfo/info.xml | 2 +- 3 files changed, 1 insertion(+), 80 deletions(-) delete mode 100644 appinfo/app.php delete mode 100644 appinfo/autoload.php (limited to 'appinfo') 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 @@ - - * @copyright 2018, Maxence Lange - * @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 . - * - */ - -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 @@ - - * @copyright 2018, Maxence Lange - * @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 . - * - */ - -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 @@ pgsql sqlite mysql - + -- cgit v1.2.3