From 78d1728e1e383ce728ed1cce0c53d4d2e83fa4b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20N=C3=BCsse?= Date: Sun, 18 Oct 2020 17:41:58 +0200 Subject: [PATCH] restore app.php for backwards compatibility --- appinfo/app.php | 27 +++++++++++++++++++++++++++ appinfo/info.xml | 4 ++-- 2 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 appinfo/app.php diff --git a/appinfo/app.php b/appinfo/app.php new file mode 100644 index 0000000..5665567 --- /dev/null +++ b/appinfo/app.php @@ -0,0 +1,27 @@ + + * + * @license AGPL-3.0 + * + * This code is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, version 3, + * as published by the Free Software Foundation. + * + * 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, version 3, + * along with this program. If not, see + * + */ + + +\OC::$server->getEventDispatcher()->addListener('OCA\Files::loadAdditionalScripts', function() { + script('quickaccesssorting', 'sorting'); + style('quickaccesssorting', 'style'); +}); \ No newline at end of file diff --git a/appinfo/info.xml b/appinfo/info.xml index 23a5323..7aa3a05 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -4,7 +4,7 @@ Favorites Quickaccess Sorting Different Sorting for favorites-quickaccess! This app enables to sort the favorites by 'Alphabetically', 'Date Added', 'Last Date Modified' and 'Custom Order'! - 1.1.0 + 1.1.1 agpl Felix Nüsse quickaccesssorting @@ -15,7 +15,7 @@ https://github.com/newhinton/quickaccess-sorting/issues https://github.com/newhinton/quickaccess-sorting/issues/wiki - +