move failedstorage to core
This commit is contained in:
parent
3bd6fc797d
commit
a8db587b1f
|
@ -34,7 +34,7 @@ use OCP\IUser;
|
|||
use OCA\Files_external\Service\UserStoragesService;
|
||||
use OCA\Files_External\Service\UserGlobalStoragesService;
|
||||
use OCA\Files_External\Lib\StorageConfig;
|
||||
use OCA\Files_External\Lib\FailedStorage;
|
||||
use OC\Files\Storage\FailedStorage;
|
||||
use OCP\Files\StorageNotAvailableException;
|
||||
|
||||
/**
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
namespace OC\Files\Storage;
|
||||
|
||||
use OC\Files\Filesystem;
|
||||
use OCA\Files_External\Lib\FailedCache;
|
||||
use OC\Files\Cache\FailedCache;
|
||||
use OCA\Files_Sharing\ISharedStorage;
|
||||
use OCP\Constants;
|
||||
use OCP\Files\Cache\ICacheEntry;
|
||||
|
|
|
@ -19,9 +19,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
namespace OCA\Files_External\Lib;
|
||||
namespace OC\Files\Cache;
|
||||
|
||||
use OC\Files\Cache\CacheEntry;
|
||||
use OCP\Constants;
|
||||
use OCP\Files\Cache\ICache;
|
||||
|
||||
|
@ -29,6 +28,7 @@ use OCP\Files\Cache\ICache;
|
|||
* Storage placeholder to represent a missing precondition, storage unavailable
|
||||
*/
|
||||
class FailedCache implements ICache {
|
||||
/** @var bool whether to show the failed storage in the ui */
|
||||
private $visible;
|
||||
|
||||
/**
|
|
@ -20,10 +20,10 @@
|
|||
*
|
||||
*/
|
||||
|
||||
namespace OCA\Files_External\Lib;
|
||||
namespace OC\Files\Storage;
|
||||
|
||||
use OC\Files\Cache\FailedCache;
|
||||
use \OCP\Lock\ILockingProvider;
|
||||
use \OC\Files\Storage\Common;
|
||||
use \OCP\Files\StorageNotAvailableException;
|
||||
|
||||
/**
|
Loading…
Reference in New Issue