add a explicit interface for the home storage
This commit is contained in:
parent
08e49e9b07
commit
735eac6c9d
|
@ -22,7 +22,7 @@ namespace OC\Files\ObjectStore;
|
|||
|
||||
use OC\User\User;
|
||||
|
||||
class HomeObjectStoreStorage extends ObjectStoreStorage {
|
||||
class HomeObjectStoreStorage extends ObjectStoreStorage implements \OCP\Files\IHomeStorage {
|
||||
|
||||
/**
|
||||
* The home user storage requires a user object to create a unique storage id
|
||||
|
|
|
@ -11,7 +11,7 @@ namespace OC\Files\Storage;
|
|||
/**
|
||||
* Specialized version of Local storage for home directory usage
|
||||
*/
|
||||
class Home extends Local {
|
||||
class Home extends Local implements \OCP\Files\IHomeStorage {
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
|
|
|
@ -336,3 +336,7 @@ interface Storage {
|
|||
*/
|
||||
public function instanceOfStorage($class);
|
||||
}
|
||||
|
||||
interface IHomeStorage {
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue