]> source.dussan.org Git - nextcloud-server.git/commit
[9.2] Register commands in info.xml (#26248)
authorThomas Müller <DeepDiver1975@users.noreply.github.com>
Fri, 30 Sep 2016 08:09:52 +0000 (10:09 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Tue, 11 Oct 2016 17:48:26 +0000 (19:48 +0200)
commitc5ca71ee8289886c5892880679b200755fdc6dcc
tree040b66c0ea15d3c95000613fb14374f5fa5ffd5b
parent675230f86d74325d41cec4df59578919241934ce
[9.2] Register commands in info.xml (#26248)

* Use DI to load console commands from the apps - class name to be defined in the info.xml

* Load commands from info.xml

* Fix unit test

* Allow Di magic for IMountManager

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
14 files changed:
apps/dav/appinfo/info.xml
apps/dav/appinfo/register_command.php [deleted file]
apps/federation/appinfo/info.xml
apps/federation/appinfo/register_command.php [deleted file]
apps/files/appinfo/info.xml
apps/files/appinfo/register_command.php [deleted file]
apps/files_trashbin/appinfo/info.xml
apps/files_trashbin/appinfo/register_command.php [deleted file]
apps/files_versions/appinfo/info.xml
apps/files_versions/appinfo/register_command.php [deleted file]
lib/private/App/InfoParser.php
lib/private/AppFramework/DependencyInjection/DIContainer.php
lib/private/Console/Application.php
tests/data/app/expected-info.json