diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-09-09 18:56:31 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-09-09 18:56:31 +0200 |
commit | daaf87749dae9c70ccd46911a08c6da1d9ad8150 (patch) | |
tree | c6848b753574c1fc4fb8370d78230d00629e73fa /appinfo | |
parent | 03baa5ba68daa09110940c416b3cb065a9e9ca7a (diff) |
add css custom classes
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 |