diff options
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/app.json | 4 | ||||
-rw-r--r-- | appinfo/application.php | 10 |
2 files changed, 12 insertions, 2 deletions
diff --git a/appinfo/app.json b/appinfo/app.json index 7432a3717..f11b6ccc2 100644 --- a/appinfo/app.json +++ b/appinfo/app.json @@ -3,7 +3,7 @@ "id": "news", "description": "ownCloud News App", "licence": "AGPL", - "version": "2.001", + "version": "2.002", "authors": [ { "name": "Bernhard Posselt", @@ -36,7 +36,7 @@ "categories": ["Multimedia"], "dependencies": { "php": ">=5.4", - "owncloud": ">=6", + "owncloud": ">=7.8", "libs": { "curl": "*" } diff --git a/appinfo/application.php b/appinfo/application.php index a353884cb..01e623adc 100644 --- a/appinfo/application.php +++ b/appinfo/application.php @@ -205,6 +205,16 @@ class Application extends App { ); }); + // compability for plugins pre 3.0 + $container->registerService('FolderBusinessLayer', function($c) { + return $c->query('FolderService'); + }); + $container->registerService('FeedBusinessLayer', function($c) { + return $c->query('FeedService'); + }); + $container->registerService('ItemBusinessLayer', function($c) { + return $c->query('ItemService'); + }); /** * Mappers |