move failedstorage to core

This commit is contained in:
Robin Appelman 2016-03-10 13:38:48 +01:00
parent 3bd6fc797d
commit a8db587b1f
4 changed files with 6 additions and 6 deletions

View File

@ -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;
/**

View File

@ -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;

View File

@ -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;
/**

View File

@ -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;
/**