mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #17249 from owncloud/file-cache-is-a-icache
Fixing "ImportController::__construct() must implement interface OCP\…
This commit is contained in:
commit
a1bfc26b88
2 changed files with 5 additions and 1 deletions
5
lib/private/cache/file.php
vendored
5
lib/private/cache/file.php
vendored
|
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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'],
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue