From 53822bb4bc21cadc135d70d3d099c5fd117424b0 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Sat, 13 May 2017 21:31:25 +0200 Subject: add new apis --- appinfo/app.php | 2 +- appinfo/info.xml | 27 +++++++++------------------ 2 files changed, 10 insertions(+), 19 deletions(-) (limited to 'appinfo') diff --git a/appinfo/app.php b/appinfo/app.php index 88aeed65c..65c53725c 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -15,4 +15,4 @@ namespace OCA\News\AppInfo; require_once __DIR__ . '/../vendor/autoload.php'; -(new Application)->registerConfig(); +\OCP\Util::connectHook('OC_User', 'pre_deleteUser', 'OCA\News\Hooks\User', 'deleteUser'); \ No newline at end of file diff --git a/appinfo/info.xml b/appinfo/info.xml index a464f499b..8bf4536e6 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).]]> - 11.0.0 + 11.0.1 agpl Bernhard Posselt Alessandro Cosentino @@ -38,10 +38,14 @@ Before you update to a new version, [check the changelog](https://github.com/nex - - - - + + OCA\News\Cron\Updater + + + + OCA\News\Settings\Admin + OCA\News\Settings\Section + @@ -49,17 +53,4 @@ Before you update to a new version, [check the changelog](https://github.com/nex news.page.index - - - - OCA\News\Cron\Updater - - - - - - OC_User::pre_deleteUser - OCA\News\Hooks\User::deleteUser - - -- cgit v1.2.3