aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/capabilitiesmanager.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2015-07-22 13:04:56 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2015-08-10 10:45:16 +0200
commitf0b617b50825566ec1b417eed09688e88de5f0bb (patch)
treed7d009ba3d197dd78ff16e83543bba991dbe250f /lib/private/capabilitiesmanager.php
parentc80c9819dcc1a4c79b5c2621a3ec07623e1cd140 (diff)
downloadnextcloud-server-f0b617b50825566ec1b417eed09688e88de5f0bb.tar.gz
nextcloud-server-f0b617b50825566ec1b417eed09688e88de5f0bb.zip
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
Diffstat (limited to 'lib/private/capabilitiesmanager.php')
-rw-r--r--lib/private/capabilitiesmanager.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/capabilitiesmanager.php b/lib/private/capabilitiesmanager.php
index ebbd9664897..74154f2c631 100644
--- a/lib/private/capabilitiesmanager.php
+++ b/lib/private/capabilitiesmanager.php
@@ -21,10 +21,9 @@
namespace OC;
-use OCP\Capabilities\IManager;
use OCP\Capabilities\ICapability;
-class CapabilitiesManager implements IManager {
+class CapabilitiesManager {
/**
* @var \Closure[]