Преглед на файлове

Fixing "ImportController::__construct() must implement interface OCP\\ICache, instance of OC\\Cache\\File given"

tags/v8.1RC2
Thomas Müller преди 9 години
родител
ревизия
fc474de573
променени са 2 файла, в които са добавени 5 реда и са изтрити 1 реда
  1. 4
    1
      lib/private/cache/file.php
  2. 1
    0
      tests/lib/server.php

+ 4
- 1
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;

/**

+ 1
- 0
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'],


Loading…
Отказ
Запис