diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2015-06-30 09:46:09 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2015-06-30 09:46:09 +0200 |
commit | a1bfc26b883e458389712af8624a0d76e83a536a (patch) | |
tree | 2e7f5612390663f4d1bda7d86642052b8fa6f6b2 | |
parent | 6506357210b668cb5c3d32319e46877f0a13c090 (diff) | |
parent | fc474de57313e7d3c369fedb90c7c877212ae78e (diff) | |
download | nextcloud-server-a1bfc26b883e458389712af8624a0d76e83a536a.tar.gz nextcloud-server-a1bfc26b883e458389712af8624a0d76e83a536a.zip |
Merge pull request #17249 from owncloud/file-cache-is-a-icache
Fixing "ImportController::__construct() must implement interface OCP\…
-rw-r--r-- | lib/private/cache/file.php | 5 | ||||
-rw-r--r-- | tests/lib/server.php | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/private/cache/file.php b/lib/private/cache/file.php index c033e53e6f7..32c00125764 100644 --- a/lib/private/cache/file.php +++ b/lib/private/cache/file.php @@ -25,9 +25,12 @@ namespace OC\Cache; use OC\Files\Filesystem; use OC\Files\View; +use OCP\ICache; use OCP\Security\ISecureRandom; -class File { +class File implements ICache { + + /** @var View */ protected $storage; /** diff --git a/tests/lib/server.php b/tests/lib/server.php index f2971fea25d..cf0ad8265bf 100644 --- a/tests/lib/server.php +++ b/tests/lib/server.php @@ -99,6 +99,7 @@ class Server extends \Test\TestCase { ['NavigationManager', '\OC\NavigationManager'], ['NavigationManager', '\OCP\INavigationManager'], ['UserCache', '\OC\Cache\File'], + ['UserCache', '\OCP\ICache'], ['OcsClient', '\OC\OCSClient'], |