Use DI
* Register OCP\Capability\IManager at DIContainer * Add register capabilities to appframework * Register capabilities in DI way * Make unit test pass again * Remove CapabiltiesManager from OCP
Showing
- apps/files/appinfo/application.php 1 addition, 4 deletionsapps/files/appinfo/application.php
- apps/files_sharing/appinfo/application.php 1 addition, 5 deletionsapps/files_sharing/appinfo/application.php
- apps/files_trashbin/appinfo/application.php 1 addition, 4 deletionsapps/files_trashbin/appinfo/application.php
- apps/files_versions/appinfo/application.php 1 addition, 4 deletionsapps/files_versions/appinfo/application.php
- lib/private/appframework/dependencyinjection/dicontainer.php 14 additions, 0 deletionslib/private/appframework/dependencyinjection/dicontainer.php
- lib/private/capabilitiesmanager.php 1 addition, 2 deletionslib/private/capabilitiesmanager.php
- lib/private/server.php 3 additions, 5 deletionslib/private/server.php
- lib/public/appframework/iappcontainer.php 7 additions, 0 deletionslib/public/appframework/iappcontainer.php
- lib/public/capabilities/imanager.php 0 additions, 44 deletionslib/public/capabilities/imanager.php
- lib/public/iservercontainer.php 0 additions, 7 deletionslib/public/iservercontainer.php
- tests/lib/capabilitiesmanager.php 14 additions, 17 deletionstests/lib/capabilitiesmanager.php
- tests/lib/server.php 1 addition, 1 deletiontests/lib/server.php
Loading
Please register or sign in to comment